-
Notifications
You must be signed in to change notification settings - Fork 38.2k
Closed
Labels
feature-requestRequest for new features or functionalityRequest for new features or functionalityinfo-neededIssue requires more information from posterIssue requires more information from posterquick-openQuick-open issues (search, commands)Quick-open issues (search, commands)
Milestone
Description
I often find myself needing to point another developer to a specific line in a file. Usually, I would approach this by sending them a relative file path along with the line number. For example:
- relative file path
src/utils.js - line number
30
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 Line/Columncommand (in my case it is bound toctrl+g) - type in the line number
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, possibly named Go to line in file.
The syntax for the enhanced file path could be filePath:lineNumber. In the context of the example above: src/utils.js:30.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
feature-requestRequest for new features or functionalityRequest for new features or functionalityinfo-neededIssue requires more information from posterIssue requires more information from posterquick-openQuick-open issues (search, commands)Quick-open issues (search, commands)