Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Search in FolderNew to Visual Studio Code? Get it now.
Search in Folder

Search in Folder

Demigula Tools

|
2 installs
| (0) | Free
Search selected text in current file's directory or workspace
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

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

  1. Select text in the editor
  2. Press any shortcut above, or right-click and choose from the context menu
  3. Search results appear in the Search panel, automatically collapsed for readability

Context Menu

  • 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

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