This is an extension for vscode that integrates grepdef: search for symbol definitions in various programming languages
GrepDef can be used like "Go to definition", except that instead of using a language server, it just greps for the definition. This is less accurate but often faster on large projects.
There is a context menu as well as two commands that will show up in the Command Palette:
GrepDef: Grep for the definition of the symbol under the cursor
which is the same as the context menu.GrepDef: Grep for the definition of a symbol
which will prompt for a symbol.
This installs two commands:
vscode-grepdef.grepdef
: Grep for the definition of a symbolvscode-grepdef.grepdefword
: Grep for the definition of the symbol under the cursor
You must have grepdef installed (version 2.0 or newer).
This extension contributes the following settings:
vscode-grepdef.grepdefPath
: The path to thegrepdef
executable. Defaults to just usinggrepdef
which should work if it is installed globally.