Search Your Code Instantly

Rifler is a lightning-fast file search extension for VS Code. Search by project/module/directory/file, use regex and file masks, and jump into full-file preview and replace.

Why Choose Rifler?

📝

Inline Editing

Click anywhere in the file preview to edit directly. Changes auto-save with full syntax highlighting and real-time rendering.

📋

Flexible Panel Location

Open Rifler in the sidebar, bottom panel, or a separate editor tab. Your search, results, and preview persist when you reopen.

Lightning Fast

Powered by ripgrep with typical searches ~0.6s on large repos and instant responses on small projects.

🎯

Smart Filtering

Search entire projects, specific modules, directories, or single files. Directory/file scope is constrained to the path you select.

🔄

Search & Replace

Replace the current match or replace all matches across results. Works with undo and integrates with the file preview editor.

🔧

Powerful Options

Match case, whole words, regex patterns, and file masks. All the power you need for precise searches.

👀

Full File Preview

View entire files with all matches highlighted. Navigate results with arrow keys, open with Enter.

⌨️

Keyboard Optimized

Navigate results and open files without touching the mouse. Select text in the editor and press Cmd+Alt+F (Mac) / Ctrl+Alt+F (Windows/Linux) to search it instantly, and use Cmd+Alt+R / Ctrl+Alt+R for replace mode.

📦

Multi-Language Support

Works with any programming language. TypeScript, JavaScript, Python, Go, Rust, and more.

Blazing Fast Performance

The search core now uses ripgrep (the same engine as VS Code) for maximum speed, with non-blocking async execution.

  • Parallel Execution across files
  • Non-Blocking UI while searching
  • Smart Concurrency Control
  • Virtualized Results for smooth scrolling
~0.63s
Average ripgrep run (111k matches)
10,000+
Results with smooth scrolling

Benchmark Results (large monorepo)

Engine Query Avg Time Matches
Rifler (bundled rg) "test" ~635ms ~112k
VS Code rg "test" ~667ms ~112k

Get Started in 3 Steps

1

Install Extension

Search for "Rifler" in VS Code Extensions or install from the Marketplace.

2

Choose Your View

Rifler toggles with Cmd+Alt+F (Mac) / Ctrl+Alt+F (Windows/Linux). Choose sidebar/bottom/window via the rifler.panelLocation setting.

3

Start Searching

Type your query and watch results appear instantly. Use arrow keys to navigate.