How to install VS code extension manually?

2020-05-24 19:26发布

问题:

I am not able to download any extension via VS Code on my office system due to the proxy. Is there a way that I can do it manually by downloading and placing the downloaded files at the right place?

回答1:

Download the extension from VSCode marketplace, it'll be a .vsix file, then do like the image below.



回答2:

You can also use the command-line to install extensions from VSIX files using the --install-extension parameter.

code --install-extension /path/to/vsix

eg: code --install-extension vscodevim.vim