How to install Visual Studio Code extensions from Command line

前端 未结 5 1723
时光说笑
时光说笑 2021-01-30 06:41

How to install Visual Studio Code Extensions from Command Prompt while Code Instance is open. I want to install extension from Visual Studio Code gallery.

Following is th

5条回答
  •  不思量自难忘°
    2021-01-30 06:59

    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
    

    Documentation

提交回复
热议问题