question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feat]: Allow installing .vsix extensions in restricted environments

See original GitHub issue

What 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

https://github.com/microsoft/vscode/issues/142812

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:1
  • Comments:12 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
code-ashercommented, Aug 30, 2022

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.

2reactions
jsjoeiocommented, Aug 29, 2022

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found