Visual Studio code does not show extension List. Proxy Issue

Hello Friend’s,

It's always hard time when working with Visual studio code and Git repository behind the proxy. Don't know for others but for me yes.

Some time you might face problem to access extension in visual studio code if you are behind proxy. Below is way to handle it.


1.  Open the Setting in visual studio code as shown in below screen shot.




2. 2. Enter the Setting as shown below. These are setting for Http and Https Proxy. 

    


 // Place your settings in this file to overwrite the default settings
 {
 "http.proxy":"proxy name",
 "https.proxy":"proxyname",
 "http.proxyStrictSSL": false
 }






Hope it will work. 

If still not working then one more setting need to do. 

Please note I have done this setting to access bit bucket repository from proxy behind. Open you user folder. (C-> Users -> Your user name) Make note pad file with extension .npmrc Add below setting in that files.



registry=https://registry.npmjs.org/
http-blrproxy.igate.com=YOUR PROXY
https-blrproxy.igate.com=YOUR PROXY
proxy=http://DOMAIN%USERNAME:PASSWORD@PROXY/
strict-ssl=false 
Replace PROXY with your company proxy.
Replace DOMAIN,USERNAME and PASSWORD with current values.



Posted in |

0 comments:

Post a Comment