When trying to install a VSCODE extension from the marketplace, I'm getting connect ETIMEDOUT xxx.xxx.xxx.xxx:443 possibly due to company firewall restrictions.
Is there a way to download and install extensions from a local drive? I couldn't find a "download" option on the VSCODE marketplace.
You can manually install a VS Code extension packaged in a . vsix file. Using the Install from VSIX command in the Extensions view command dropdown, or the Extensions: Install from VSIX command in the Command Palette, point to the . vsix file.
The solution was to go to Windows PowerShell and open Visual Studio Code, then go to the extensions and restart the Remote - WSL extension, and go back to WSL. It then started working immediately.
Open the Extensions view (Ctrl+Shift+X), disable an extension, reload the window (Developer: Reload Window), and check to see if the problem still exists. If the problem is gone, that extension is "bad" and you are done. Otherwise, re-enable the extension and repeat the process with the next extension.
Here is what you can do.
Most extensions are in public repos. Click Getting Started on the side panel.
Download the code from the public repo.
Follow the instructions in the docs to side load the application.
If you want to share your extension or customization with others privately, you can simply send them a copy of the output from the generator and ask them to add it under their .vscode/extensions folder. Alternatively, package your extension using the vsce publishing tool and send them the .vsix file.
You need to add your corporate proxy to VSCode settings.
Step 1. Open File > Preferences > User Settings
Step 2.
Copy and Paste below into the settings.json (file that opens) make sure is inside the curly brackets {}
//-------- HTTP configuration --------
// The proxy setting to use. If not set will be taken from the http_proxy and https_proxy environment variables
"http.proxy": "http://127.0.0.1:8080", //your corporate proxy
// Whether the proxy server certificate should be verified against the list of supplied CAs.
"http.proxyStrictSSL": false
Step 3. Press F1 and type Reload Window and press enter to refresh.
Tip: if you don't know your corporate proxy settings, follow this advice: https://superuser.com/questions/346372/how-do-i-know-what-proxy-server-im-using
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