Interactively search your project with ripgrep (rg) from a QuickPick, and jump straight to any match.
Features
- Interactive search — run
rg: Search with ripgrepfrom the Command Palette and results stream in as you type (case-smart regex, powered byrg --json).- search with preview
- search for a term and have the results in the terminal
- file search
- file search with preview
- Choose the root directory — click the folder button in the search box to type a directory path with folder-name completion (Enter completes/descends into the highlighted folder; pick Use this directory to confirm). Defaults to the current workspace.
- Jump to results — highlight a result to preview it, or press Enter / click to open the file in a new tab at the exact line and column.
Requirements
No install needed — by default the extension uses the ripgrep binary that ships inside VS Code. To use your own rg instead, set rg.path to its full path (e.g. /opt/homebrew/bin/rg).
Settings
| Setting | Default | Description |
|---|---|---|
rg.path |
rg |
Path to the ripgrep executable. |
rg.maxResults |
1000 |
Maximum number of matches to display. |
Development
pnpm install
pnpm run compile # or: pnpm run watch
Press F5 in VS Code to launch an Extension Development Host, then run rg: Search with ripgrep from the Command Palette (Cmd/Ctrl+Shift+P).