skip to Main Content

Can I enable/disable specific extensions in VSCode from other extension?

There are commands to enable/disable all extensions, but I found no commands or methods for specific extensions.


Edited :

My description was insufficient, sorry.

I’m creating an extension that manages extensions by groups, so I would like to control it by code, not manually.

Thanks.

2

Answers


  1. in VSCode from menu go to view>extensions,then click disable ande select Disable(Workspace)

    enter image description here

    Hope this helps!

    Login or Signup to reply.
  2. Doing manual disable/enable for specific extension is the best option for me.
    Go to your extensions tab, select manage gear(like setting icon) and the choose disable in the pop up. This will disable that specific extension and prompt you to reload VS Code.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search