Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Scope to ThisNew to Visual Studio Code? Get it now.
Scope to This

Scope to This

rhalaly

|
13,687 installs
| (19) | Free
Adds Scope to This feature to the explorer context menu. Lets you focus on the things that matter
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Scope to This 🎯

Adds "Scope to This" option to the Explorer context menu, like in Visual Studio. Lets you focus on the things that matter.

Features ✨

  • Adds "Scope to This" option to the Explorer context menu to scope the selected directory.
  • Adds "Clear scope" option to the Folders view as a shortcut icon (also available as a command scope-to-this.clear) to clear the filter and return to the project's root folder.
    clear-shortcut

Known Issues 🐛

  • To scope we use the file.exclude option in the settings.json configuration file. This file may be included in the Git repository. So be careful when you commit...

  • Folders and files that have the same prefix as the selected folder name may still appear. For example, if you want to scope to the .vscode folder, folders and files like .vs and .vscodeignore will still be visible.

Acknowledgement 🙏

This project inspired by these projects:

  • Explorer Exclude
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft