Home > Back-end >  Is there a way to toggle VS Code extensions per project?
Is there a way to toggle VS Code extensions per project?

Time:02-26

While working with multiple Vue JS projects (Vue 2 & Vue 3), it is recommended to use a different extensions based on the version your using.
Vue 2 = Vetur
Vue 3 = Volar

Is there a way to auto-enable/disable these extensions from either settings.json or vscode itself?

maybe something like:

// settings.json
{
  "extensions": {
    "Vetur": false,
    "Volar": true,
  }
}

CodePudding user response:

You can actually - if you go into the extension settings, you have an option to enable/disable just for the current workspace:

enter image description here

  • Related