I'm a little bit fed up of this window:
I checked the configuration and I added the proxy URL to the http.proxy
entry as described here:
"http.proxy": "http://frustratedusername:[email protected]:8080/"
But it didn't work. Then, I tried setting the http_proxy
and https_proxy
environment variables, but it didn't work neither.
Is there any way to make VS Code remember the proxy settings?
If your network requires a proxy to access the Internet, set the Visual Studio Code proxy as follows: Open Visual Studio Code, click the settings icon in the lower left corner, and click Settings.
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.
Remembering proxy credential should now be supported, since VSCode 1.51 (Oct. 2020), and confirmed with VSCode 1.52 (Nov. 2020)
Remember proxy credentials#
We are overhauling the login dialog that shows when a network connection requires authentication with a proxy.
A new setting,window.enableExperimentalProxyLoginDialog: true
, will enable this new experience that we plan to make the default in a future release.Theme: GitHub Light
The dialog will appear inside the VS Code window and offer a way to remember the credentials so that you do not have to provide them each time you start VS Code.
Credentials will be stored in the OS standard credential store (keychain on macOS, Windows Credential Manager on Windows, and gnome keyring on Linux).We still only show this dialog once per session, but might revisit this decision in the future. You will see the dialog appear again in case the credentials you selected to be remembered are not valid. Providing them again allows you to change them.
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