Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>File SwitchNew to Visual Studio Code? Get it now.
File Switch

File Switch

Plescan Denis

|
63 installs
| (0) | Free
Enable or disable files from your project.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

file-switch README

File Switch is a Visual Studio Code extension that allows you to enable or disable files within your project.

This extension allows you to selectively enable or disable files that are included in your project. This can be useful when you have files that are not always needed, or when you want to temporarily remove a file from your project without actually deleting it.

By disabling a file, it remains in the project directory but you can prevent other files in your project from accessing it. This can help you locate and fix issues with your code on file removal, especially if you have multiple files that depend on the same resources, while keeping the resource file available for future reference if needed.

When a disabled file is optional, enabling or disabling it determines whether your code or program will take that file into account. For instance, a config file can be enabled ('config.cfg') and your code will use it, but if you disable it ('config.cfg.disabled'), your code won't find it and will apply a default config that you manage.

Features

  • Enable or disable files in your project with a single click
  • Works directly from the editor or via the right-click context menu

TODO

  • Multi-file support
  • Disable folder
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft