Navigating to filename under cursor

Context: there's a file path under my cursor in the editor window. Is there a way to jump to this file? Go-to-declaration doesn't work. What currently does work is selecting the exact path and typing CTRL-SHIFT-N, but this is pretty annoying. It would be really nice if ":42" line numbers and "::Class::method" references were supported as well.

0
Hi,
The file links in string literals are supported in specific places only, such as when specifying Django template files or opening files with the `open()` function. File navigation is not available just in any string literal out of context.

If you think that in your case it should be available, please provide a code sample or submit a feature request to https://youtrack.jetbrains.com
0

请先登录再写评论。