Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>vscode-grepdefNew to Visual Studio Code? Get it now.
vscode-grepdef

vscode-grepdef

sirbrillig

|
94 installs
| (0) | Free
VSCode extension for grepdef: search for symbol definitions in various programming languages
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

vscode-grepdef

This is an extension for vscode that integrates grepdef: search for symbol definitions in various programming languages

Features

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.

GrepDef example

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.

Commands

This installs two commands:

  • vscode-grepdef.grepdef: Grep for the definition of a symbol
  • vscode-grepdef.grepdefword: Grep for the definition of the symbol under the cursor

Requirements

You must have grepdef installed (version 2.0 or newer).

Extension Settings

This extension contributes the following settings:

  • vscode-grepdef.grepdefPath: The path to the grepdef executable. Defaults to just using grepdef which should work if it is installed globally.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft