且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何从命令行安装Visual Studio Code扩展

更新时间:2022-06-05 01:49:49


更容易实现VS Code的自动化和配置,可以从命令行列出,安装和卸载扩展。标识扩展名时,请提供表单Publisher.extension的全名,例如donjayamanne.python。

To make it easier to automate and configure VS Code, it is possible to list, install, and uninstall extensions from the command line. When identifying an extension, provide the full name of the form publisher.extension, for example donjayamanne.python.



code --list-extensions
code --install-extension ms-vscode.cpptools
code --uninstall-extension ms-vscode.csharp

文档