You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 matching gguf_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>