I am new to Visual Studio. I just installed Visual Studio Code (VSCODE). First time, I opened it and trying to install the extension for powershell. But, when I go to the Extensions tab, it gave an error that the proxy settings were not configured.
The pop up gave an option to 'Open User Settings' and it opened an editor. As per my understanding, I wrote the following two lines in the User Settings file.
Our internal proxy server requires user authentication. How and where will I put the user credentials. I think, I am getting the error because I have not specified the user details.
You must disable proxy support for extensions by either removing the proxy. http setting, or by setting http. proxySupport to off . You may need to ensure that related system level environment variables are not set for the environment in which VS Code is running.
You should open the file of VS Code configuration using any text editor, that is located by the next path: “~/. vscode-oss/argv. json” and add the next property: “enable-browser-code-loading: false” at the end of the file. Restart the VS Code editor, after that step Extensions Marketplace should work properly.
Browse for extensions# Bring up the Extensions view by clicking on the Extensions icon in the Activity Bar on the side of VS Code or the View: Extensions command (Ctrl+Shift+X). This will show you a list of the most popular VS Code extensions on the VS Code Marketplace.
Found out how. The proxy details should be given in the following format. I was using the wrong format earlier.
My settings file looked something similar to below.
// Place your settings in this file to overwrite the default settings
{
"http.proxy": "http://[email protected]:[email protected]:8080",
"http.proxyStrictSSL": false
}
The domain user name was domain\user, and it was provided in the user FQDN format Password456 is the login password for the user 10.201.10.200:8080 is the proxy server
Hope this would help someone at some point of time.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With