Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Download Visual Studio Code extensions behind proxy

Despite setting the http.proxy setting, I am unable to download extensions (or browse extensions).

like image 419
ETL Avatar asked Aug 04 '18 19:08

ETL


People also ask

How do I manually install downloaded extensions in VS Code?

You can manually install a VS Code extension packaged in a . vsix file. Using the Install from VSIX command in the Extensions view command dropdown, or the Extensions: Install from VSIX command in the Command Palette, point to the . vsix file.

Where are VS Code extensions stored?

Extensions are installed in the /workspace/. vscode-remote/extensions/ directory.

How do I fix VS Code proxy error?

Here is a solution in Windows 7. Change the system proxy to your proxy, like localhost:3128 , in Internet Options => Connections => LAN Settings. After a version (1.35. 0 maybe), the proxy settings in the Settings of vscode seems not working.


1 Answers

I found that if I start the program with --proxy-server=http://myproxy.example.com:3128 then it works.

like image 106
ETL Avatar answered Oct 10 '22 08:10

ETL