How to Set Up Proxy Settings for Advise for Visual Studio Code
Description
This article will describe how to specify your proxy settings when running Advise behind a proxy in Visual Studio Code.
Instructions:
There are two supported ways to pass the proxy settings to Advise:
Option 1:
Open Visual Studio Code
Navigate to File > Preferences > Settings
Select Application > Proxy in the sidebar
In the available fields, insert the proxy URL and credentials as:
http://user:pass@my.proxy.address:8080
Note: This will update the settings.json file referenced in Option 2.
Option 2:
Navigate to the settings.json file
Windows:
%APPDATA%\Code\User\settings.json
macOS:$HOME/Library/Application Support/Code/User/settings.json
Linux:$HOME/.config/Code/User/settings.json
Add the following text to the settings.json file:
CODE{ "http.proxy": "http://user:pass@my.proxy.address:8080", "http.proxyStrictSSL": false, }
Restart Visual Studio Code
Note:
For both of these options please confirm that the HTTP Proxy Settings are set to ‘override’. To do so, complete the following steps:
Open Visual Studio Code
Go to Settings > Application > Proxy
In the drop down list next to ‘http: Proxy Support’ select ‘override’