0

I'm working in a Linux offline environment for security reasons. We have a channel to get scanned files to the system so I can install python extension but can not install the python language server because vscode can not connect to the internet directly.

Is there a way to download an installation files so I can install it offline?

Thank you,

Sun Ltk
  • 1
  • 4
  • 2
    Does this answer your question? [How to install VSCode extensions offline?](https://stackoverflow.com/questions/37071388/how-to-install-vscode-extensions-offline) – CodeIt Nov 26 '19 at 14:39
  • I installed python extension using this method. But the extension itself need to download the python launage server to use the faster (compare to jedi) autocomplete feature. – Sun Ltk Nov 26 '19 at 14:49
  • Then you'll probably need to install extension on some other system which would help you download the resources required for autocomplete feature and then copy the extensions folder to your target system. See [this](https://vscode-docs.readthedocs.io/en/stable/extensions/install-extension/) to find your extensions folder. – CodeIt Nov 27 '19 at 14:38
  • Thank you @CodeIt I'm hoping to avoid using another machine as it is very hard to request (tons of paperworks) and take forever to get the approval just to use it. But sounds like this is the only way :/ – Sun Ltk Nov 27 '19 at 16:20

1 Answers1

0

Offline installs are not officially supported, but the code that handles the download and extraction is publicly available, so you can try to reverse-engineer what the extension is doing. But regardless you will still need to download the language server somewhere to get it on to the computer to unpack it.

Brett Cannon
  • 14,438
  • 3
  • 45
  • 40