Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Search: Find In Files With SelectionNew to Visual Studio Code? Get it now.
Search: Find In Files With Selection

Search: Find In Files With Selection

kylpo

|
1,229 installs
| (0) | Free
Use this to find your selected text (or current word if there is nothing selected) in your workspace.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

VSCode Extension: Find in Files With Selection

Version Installs

Like Find With Selection, but for Find in Files.

Features

Use this extension to find your selected text (or current word if there is nothing selected) in your workspace.

Command Palette with "Find in Files With Selection" command highlighted

Settings

Open your keybindings.json and add this keybinding:

{
  "key": "cmd+shift+f",
  "command": "extension.findInFilesWithSelection",
  "when": "editorTextFocus && !editorHasMultipleSelections"
}

Known Issues

None

Release Notes

1.0.0

Initial release

Development

Helpful links

  • Your First Extension | Visual Studio Code Extension API
  • vscode-quick-open-prefill-selection/extension.ts
  • How to initiate “findInFiles” with VSCode extension API?
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft