Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I am unable to connect to the extension marketplace of Visual Studio Code

I found one solution, download latest version from VSCode website. I tried same but still facing this issue. i want to add React Native extension.

I am unable to access this URL because of the Proxy.

How to resolve this issue?

like image 420
Arbaz.in Avatar asked Jul 29 '19 05:07

Arbaz.in


3 Answers

I'm using VSCodium On Archlinux and had the same problem. I installed vscodium-bin-marketplace to make it work. There's also a package named code-marketplace for Code OSS.

like image 88
SERAJ Avatar answered Oct 17 '22 10:10

SERAJ


I found a solution that works for me.

Stop VSCode.

Open ~/.vscode/argv.json if you're using VSCode

Open ~/.vscode-oss/argv.json if you're using VSCodium

Then add

// Browser Code Loading.
"enable-browser-code-loading": false

Don't forget to add a comma to the previous entry, since this is a JSON file (but you knew that already, right?).

like image 30
Refalm Avatar answered Oct 17 '22 12:10

Refalm


This just worked for me:

Add the proxy server to VS Code settings.json (open it in VSCode command line) enter image description here

Add keys "http.proxy" and "https.proxy" with values of your Proxy Server URL, for example:

settings.json:

{
  ...
  "http.proxy": "http://my-http-proxy-server.com:123",
  "https.proxy": "https://my-https-proxy-server.com:124"
}
like image 8
Sergey Ovsyannikov Avatar answered Oct 17 '22 10:10

Sergey Ovsyannikov