links to local file in console

 

Hi,

(how) is is possibble to create active links to arbitrary local files in the Run/Debug Console.

eg. 

>>> print "www.google.de"

will display an active link to the google website (if clicked a browser will open and open the URL)

>>> raise

will print a traceback with an active link to a python file (if clicked the file will open in pycharm)

 

But how to create a link to an arbitrary local file:

>>> print "file:///C:/bla/blub/datei.txt"

will just print the normal string

Best Regards
Stephan

 

15
3 comments

Agreed - this would be very useful when running e.g. pylint checks - if we could jump to the line of the pylint error in pycharm that'd make things easier.  

0

Hi,

I dont know if this feature's been around for long or not but on Python 3.8 the following yields a link to the local file as expected:

Print('file:///d:/foo.xlsx')

1

Thanks Pejmanaliabadi23. I can confirm that this also works when working with Gradle build output in IntelliJ.

0

Please sign in to leave a comment.