Disable VS Code Extensions for a Single Workspace

This article provides a quick, step-by-step guide on how to disable specific Visual Studio Code (VS Code) extensions for a single workspace. By managing your extensions on a per-workspace basis, you can optimize editor performance, reduce resource usage, and prevent clutter or conflicts in projects that do not require specific development tools.

Managing your extensions on a workspace level allows you to customize your development environment for each project. Here is how to disable an extension for your current workspace:

Step 1: Open Your Workspace

Launch Visual Studio Code and open the specific project folder or workspace where you want to disable the extension.

Step 2: Open the Extensions View

Navigate to the Extensions view. You can do this by clicking on the Extensions icon in the Activity Bar on the left side of the window (which looks like four blocks) or by pressing the keyboard shortcut: * Windows/Linux: Ctrl + Shift + X * macOS: Cmd + Shift + X

Step 3: Find the Extension

In the Extensions pane, locate the extension you want to disable. You can find it under the “Enabled” list or search for it by typing its name into the search bar at the top.

Step 4: Disable the Extension for the Workspace

Once you have located the extension, you can disable it using one of two methods:

Once selected, the extension will immediately be disabled for your current workspace. It will remain active and fully functional when you open other projects or workspaces in VS Code.