Feature Request: <filename>:@<symbol>
Syntax to allow for jumping directly to file and symbol at the same time
#214870
Labels
feature-request
Request for new features or functionality
markdown
Markdown support issues
*out-of-scope
Posted issue is not in scope of VS Code
I do some documentation occasionally and found that using line number to be a bit inflexible when the code evolve that the line reference is no longer accurate.
Currently we can do
<file>:<linenumber>
but what would be nice is if you can also do<file>:<symbol>
I noticed you can do
@<symbol>
so if you are worrying about conflicting syntax, you could consider<file>:@<symbol>
...So you may type
gguf.c:@gguf_context
to jump to gguf.c and locate the closest symbol matchinggguf_context
.Extra consideraton. Perhaps you can chain both the line number and symbol so that it will pick the symbol closest to the line number (this is still okay as long as there is not too much line number deviation...)
<file>:<line>:@<symbol>
The text was updated successfully, but these errors were encountered: