EasySearch - Search in Files
Fast and powerful file search extension with JetBrains-like functionality. Search text across all files in your workspace with instant results and navigation.
Demo
See EasySearch in action: Press Shift+F
, type your search query, navigate with arrow keys, and open files instantly!
Important: Change keybinding & use VS Code's Native Search Shortcut for EasySearch
By default, EasySearch uses Shift+F
as its keyboard shortcut. However, if you prefer using VS Code's native search shortcut (Cmd+Shift+F
on macOS, Ctrl+Shift+F
on Windows/Linux), you can easily set this up:
- Open Command Palette (
Cmd+Shift+P
on macOS, Ctrl+Shift+P
on Windows/Linux)
- Type "Preferences: Open Keyboard Shortcuts (JSON)"
- Add these entries to your
keybindings.json
:
{
"key": "cmd+shift+f",
"command": "-workbench.action.findInFiles",
"when": "isMac"
},
{
"key": "ctrl+shift+f",
"command": "-workbench.action.findInFiles",
"when": "isLinux || isWindows"
},
{
"key": "cmd+shift+f",
"command": "easySearch.searchInFiles",
"when": "isMac"
},
{
"key": "ctrl+shift+f",
"command": "easySearch.searchInFiles",
"when": "isLinux || isWindows"
},
{
"key": "shift+f",
"command": "-easySearch.searchInFiles"
}
- Save the file and reload VS Code (
Cmd+Shift+P
→ "Developer: Reload Window")
Now you can use default VS Code's native Cmd+Shift+F
/ Ctrl+Shift+F
shortcut for EasySearch.
Features
- Lightning Fast Search: Optimized file indexing and search algorithms for instant results
- Smart Navigation: Use arrow keys to navigate through search results
- Real-time Results: See search results as you type with intelligent debouncing
- Performance Optimized:
- Batch processing for large codebases
- Memory-efficient file indexing with cleanup
- Automatic search cancellation to prevent freezing
- User-Friendly Interface: Clean, intuitive search modal with highlighted matches
- Keyboard Shortcuts: Quick access with
Shift+F
shortcut (customizable to Cmd+Shift+F
/ Ctrl+Shift+F
)
- Multi-line Search Support: Search across multiple lines in files
- Safe Search: Handles special characters and regex patterns safely
Installation
- Open Visual Studio Code
- Go to Extensions (Ctrl+Shift+X)
- Search for "EasySearch - Search in Files"
- Click Install
Usage
Quick Start
- Press
Shift+F
to open the search modal (or your custom shortcut if configured)
- Type your search query
- Use arrow keys (↑/↓) to navigate through results
- Press
Enter
to open the selected file
- Press
Escape
to close the search modal