0

I work on multiple projects in VS code. Over time and across projects I have accumulated so many extensions so that starting up is slower and some extensions cause things to break so I have to reinstall VS code to open up a project.

Is there a way, similar to python venv, where you have have multiple instances of vs code each with its own set of extensions?

Ching Liu
  • 1,527
  • 2
  • 11
  • 15
  • 1
    See Profiles: https://stackoverflow.com/questions/71186027/how-to-create-different-environments-to-code-in-vs-code-e-g-by-language-se/72875272?r=SearchResults&s=1%7C37.8989#72875272 – Mark Oct 21 '22 at 18:01
  • 1
    Does this answer your question? [Is there a way to toggle VS Code extensions per project?](https://stackoverflow.com/questions/71268372/is-there-a-way-to-toggle-vs-code-extensions-per-project) – starball Aug 25 '23 at 08:29
  • Agreement with @starball and I posted an answer on the topic he linked. HTH – TonyG Aug 31 '23 at 22:13

2 Answers2

1

Yes - you can disable/enable extensions per workspace! Not quite the same as install/uninstall but should solve your problem of extensions running on startup

You go to extensions menu, click the gear icon on some installed extension and you can Disable (Workspace). You can do the same in reverse for enabling per workspace - docs here.

ccchoy
  • 704
  • 7
  • 16
0
  1. use profiles. https://code.visualstudio.com/docs/editor/profiles.
  2. I think you can check another possible reason, because mosty extensions have a setting named Activation Events which you can see in the end of the extension home page - FEATURE CONTRIBUTIONS. The extensions are active under certain conditions, and when they are inactive, they do not consume excessive resources.