Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>betteRGNew to Visual Studio Code? Get it now.
betteRG

betteRG

Cade Lueker

|
1 install
| (0) | Free
vscode + rg
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

vscodeRG — ripgrep in VS Code

Interactively search your project with ripgrep (rg) from a QuickPick, and jump straight to any match.

Features

  • Interactive search — run rg: Search with ripgrep from the Command Palette and results stream in as you type (case-smart regex, powered by rg --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).

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft