Is it possible to enable and disable extensions for certain workspace with .vscode

Viewed 57

I added some extensions to vscode, including python, c++, flutter, etc. I'm trying to disable some extensions in a specific repo, such as the flutter extension in my frontend repo. I want to save this setting in .vscode so that when I move the repo, vscode will remember the setting.

1 Answers

In order to enable and disable the extensions for a certain workspace in visual studio code.

Go to the extensions on the sidebar and disable/enable for the current workspace. Adding screenshot.

extensions on the sidebar

To do this step by step:

On the Extensions sidebar.

  • Select the extension, then select the 'Disable' button. This will disable the extension for all workspace.
  • Then select "Enable (workspace)" to enable it for the current workspace.
Related