How to make program output clickable (and navigate to source code which emits line or for which line is emited)?

I want to navigate from logging output to source code with one click - like in Eclipse. Not with entering file name and line.

How can I do it? Where is such settings to configure? What should string log? How to make such string as short ass possible?

I found such solution which is probably use hard code Pycharm links (not found how to configure it).

This magic works in interpreter and output.
print('File "C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.4\helpers\pydev\pydevconsole.py", line 249, in process_exec_queue')

 

Please sign in to leave a comment.