Allow to paste a file path with symbol to go to symbol in file #123809
Labels
editor-symbols
definitions, declarations, references
feature-request
Request for new features or functionality
quick-open
Quick-open issues (search, commands)
Milestone
I often find myself needing to point another developer to a specific function or other symbol, which is frequently located in a file containing numerous other definitions. Usually, I would approach this by sending them a relative file path along with the symbol name. For example:
src/utils.js
capitalize
Equipped with this information they could:
Go to file
command (usually bound toctrl+e
)Enter
Go to symbol
command (in my case it is bound toctrl+shift+o
)Instead it would be convenient if the
Go to file
command input could accept a path with a symbol simplifying the above steps. Alternatively, to avoid overloadingGo to file
a new command my be introduced, for exampleGo to symbol in file
.The syntax for the enhanced file path could be
filePath@symbolName
. In the context of the example above:src/utils.js@capitalize
.The text was updated successfully, but these errors were encountered: