How to solve the problem that there are too many vscode plug-ins and automatically load the corresponding plug-ins?

vscode can be configured as the IDE, of the corresponding language, but each of us knows many languages. If each language has to be configured into its own IDE, there will be many plug-ins. Then, we will have a lot of plug-ins, and vscode will take up more and more memory and become more and more stuck.
is there a way to automatically load the corresponding plug-ins and shield unused plug-ins? For example, if I write programs in Golang, vscode automatically blocks plug-ins such as js,python,c/cPP.

Sep.02,2021

you try to disable plug-ins that are already installed but are not needed, and leave the plug-ins you want to load automatically.

Click the bottom chart on the left, pop up the installed plug-in, click on the pinion, and disable Disable.
if you need to load later, click on the top right. Expand, find the Show Disabled Extension and find the disabled Enable.


suggests that python use pycharm , and c/cPP can use clion


answer is not the question! The main building is developed between different language projects, different languages use different plug-ins (not one, a batch), when developing python projects, automatically start python-related plug-ins; develop node projects, automatically load node-related plug-ins; other unrelated plug-ins do not load, take up memory!
I'm also looking for such a plug-in. I think this should be the basic function of vscode, but there is no!
official solution:

CTRL+shift+P
Extensions: Configure Recommended Extensions (Workspace Folder) command.
An example extensions.json could be:

{
    "recommendations": [
        "ms-vscode.vscode-typescript-tslint-plugin",
        "dbaeumer.vscode-eslint",
        "msjsdiag.debugger-for-chrome"
    ],
    // unwantedRecommendations "disabled"
    "unwantedRecommendations":[
        ...
    ]
}

however, I gave it a try and could only use the word "natural and egg" to express the conclusion. (maybe I can't use it)


see my diary http://www.fanlt.top/archives/39


you can use vscode's workspace feature to open a plug-in in a separate workspace, and other plug-ins will automatically close

.
Menu