Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Search in Current File PlusNew to Visual Studio Code? Get it now.
Search in Current File Plus

Search in Current File Plus

mario

|
279 installs
| (0) | Free
Search only in the current file
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Search in Current File Plus

Makes it easy to search between the 'current file' and the 'workspace' using the keyboard shortcuts 'Cmd + F' or 'Cmd + Shift + F'.

Demo

Commands

Search in Current File Plus

Search in Current File : cmd+f Search all Files : cmd+shift+f

Useful Keyboard Shortcuts Example

// Only type ctrl+o when using Find.
// the query in Find is filled into the query in Search.
{
    "key": "cmd+f",
    "command": "search-in-current-file.searchInCurrentFile",
    "when": "editorFocus"
  },
  {
    "key": "shift+cmd+f",
    "command": "search-in-current-file.searchInAllFiles",
}

Publish

yarn install
$ cd myExtension
$ vsce package
# upload *.vsix to https://marketplace.visualstudio.com/manage/publishers/
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft