Reputation: 12514
I have a lot of projects to maintain; they require different plugins to operate. But, some plugins are heavy and make VS Code slow.
I want a plugin-set to be applied when I open one project and not to others. In this way my VSCode will be light-weight.
Upvotes: 9
Views: 2167
Reputation:
You need to go to Extensions (CTRL+SHIFT+E) in the Activity Bar, click the cogwheel next to an extension and select Disable (Workspace). Apparently it's also possible to disable an extension globally, and make it activate only if it's explicitly enabled in {workspace}/.vscode/settings.json
.
Upvotes: 8
Reputation: 181339
As @Artur said, you have to either have to disable or enable each extension by workspace. Not the most elegant of solutions.
Better solutions have been requested a few times, see workspace settings for extension lists and persisting extension load with a manifest file. The feature seems desired but no real indication of movement on the issue other than what Artur said.
Upvotes: 2