Get position in file by using comment

I have file with comments that contain links to different places of project:

api.py
def foo():
    """  look to ./demo/system.py:20  """

Is there any way to open file system.py on line #20 by click + ctrl? Or something like this.
5 comments
Also I can modify code to like as "from demo import system" for this, but I can't modify target file.
This example won't give me exact position.
0
It is not implemented yet. Please add your comment to http://youtrack.jetbrains.com/issue/PY-7677 and vote for it to receive updates on this issue.
0
Thank you for reply.
PY-7677 is other problem, that is named "go to defInition".
I need "go to file:line", for example I need get position of line like "a = b + c".

I think pyCharm doesn't have this feature.
0
You could navigate to file line via Ctrl+Shift+N (or Navigate->File) ->type there “<filename.py>:<line_number>”.
0
This is almost what I was looking for. Thank you.
0

Please sign in to leave a comment.