Search in Folder
A VS Code extension for quickly searching selected text with smart scope control.
Features
1. Search in Current Folder
Search the selected text only within the directory of the current file (including subdirectories).
| Platform |
Shortcut |
| Windows / Linux |
Alt F |
| macOS |
Alt F |
2. Search in Workspace
Search the selected text across the entire workspace with no path restrictions.
| Platform |
Shortcut |
| Windows / Linux |
Ctrl Alt F |
| macOS |
Ctrl Alt F |
3. Search in Git Project Root
Search the selected text within the current Git repository root.
| Platform |
Shortcut |
| Windows / Linux |
Ctrl Shift Alt F |
| macOS |
Ctrl Shift Alt F |
Usage
- Select text in the editor
- Press any shortcut above, or right-click and choose from the context menu
- Search results appear in the Search panel, automatically collapsed for readability
- Editor: Right-click with text selected to see all three search options
- Explorer: Right-click a file/folder to search in that location
License
MIT
| |