Needle is a VSCode/Cursor extension for fast in-file text search. Type a pattern, see all matching lines, jump to the one you want.
Powered by a native Rust engine for instant results, even on large files.
Install from the VSCode Marketplace
Or search for "Needle" directly in the Cursor extensions panel.
Note: This extension works on both VSCode and Cursor.
- Open Command Palette (Cmd/Ctrl + Shift + P)
- Choose "Preferences: Open Keyboard Shortcuts"
- Search for "needle.find"
- Set a keybinding
- Open Command Palette (Cmd/Ctrl + Shift + P)
- Choose "Needle: Find in file"
- Smart case: case-insensitive by default, case-sensitive if your query contains uppercase
- Substring matching: finds exact contiguous matches in each line
- Rust-powered: native search engine via napi-rs for sub-millisecond performance
- Results in line order: matches appear top-to-bottom as they occur in the file
Yes! The extension works on both VSCode and Cursor.
Results are displayed in line order (top to bottom). The first match in the file appears first.
