-
Notifications
You must be signed in to change notification settings - Fork 38.2k
Closed
Labels
editor-symbolsdefinitions, declarations, referencesdefinitions, declarations, referencesfeature-requestRequest for new features or functionalityRequest for new features or functionalityquick-openQuick-open issues (search, commands)Quick-open issues (search, commands)
Milestone
Description
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:
- relative file path
src/utils.js - symbol name
capitalize
Equipped with this information they could:
- copy the file path their clipboard
- raise VSCode
- execute
Go to filecommand (usually bound toctrl+e) - paste
- press
Enter - execute
Go to symbolcommand (in my case it is bound toctrl+shift+o) - type in the before mentioned symbol name
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 overloading Go to file a new command my be introduced, for example Go 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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
editor-symbolsdefinitions, declarations, referencesdefinitions, declarations, referencesfeature-requestRequest for new features or functionalityRequest for new features or functionalityquick-openQuick-open issues (search, commands)Quick-open issues (search, commands)