[Feat]: Allow installing .vsix extensions in restricted environments
See original GitHub issueWhat is your suggestion?
Allow users to install .vsix
extensions offline via the CLI.
Why do you want this feature?
Some community members and customers work in airgapped or offline environments and want to be able to install extensions.
Are there any workarounds to get this functionality today?
No.
Are you interested in submitting a PR for this?
Yes
Related
Technically this is upstream, but I’m considering fixing it first in code-server and then submitting a patch upstream
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:12 (8 by maintainers)
Top Results From Across the Web
VS Code still have to access internet when installing ... - GitHub
Setup remote-ssh extension and environment settings ... [Feat]: Allow installing .vsix extensions in restricted environments ...
Read more >Managing Extensions in Visual Studio Code
To install an extension, select the Install button. Once the installation is complete, the Install button will change to the Manage gear button....
Read more >To install the extension on a system not connected to the Internet
The VSIX installer installs the extension. In the left-hand sidebar, click the icon with the Synopsys logo to see the Code Sight controls...
Read more >VSIX Extension Schema 2.0 Reference - Microsoft Learn
<Installation> - This section defines the way this extension package can be installed, including the application SKUs that it can install into.
Read more >Search & Install Extensions in Your Gitpod Workspace
Until now, you installed VS Code extensions in Gitpod by drag-and-dropping `.vsix` files into your workspace.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
If there is a firewall dropping packets then I assume there is a timeout somewhere in code-server we can lower although I am not sure what a good timeout is; maybe in some slow environments it really does take two minutes to resolve. So if this is what is happening then the ideal fix is likely to make the firewall respond with a denial rather than silently dropping.
@cccs-nik very helpful - thank you so much! Appreciate your help.
I was chatting with @code-asher - we believe that this only happens in restricted environments. He was doing some poking around to see if we could figure out what the root cause is. Still working on that though.