Skip to content
This repository has been archived by the owner on Apr 14, 2022. It is now read-only.

separate language server to standalone directory , avoid re-download it when extension auto update #2083

Open
luliangce opened this issue May 21, 2020 · 4 comments

Comments

@luliangce
Copy link

I notice that when python extension update, a new extension directory like ~/.vscode-server/extensions/ms-python.python-2020.5.80290 will be set up.
then i have to re-download the same version of language server because the old one was deleted by this update.
it's not easy, because I am in China mainland. I have to wait for some miniutes with less than 10 kb/s network.
is there any possible to avoid this unnecessary download ?

@luliangce luliangce changed the title separate language server to standalone directory to, avoid re-download it when extension auto update separate language server to standalone directory , avoid re-download it when extension auto update May 21, 2020
@karthiknadig
Copy link
Member

/cc @jakebailey @judej

@karthiknadig karthiknadig self-assigned this May 26, 2020
@karthiknadig karthiknadig transferred this issue from microsoft/vscode-python Jun 19, 2020
@jakebailey
Copy link
Member

This is purely an extension issue; the fix would be to store the downloaded code in the extension's global storage area rather than its folder. This is a bit more complicated as there would need to be logic to remove old versions (as the folder stays forever).

@karthiknadig
Copy link
Member

Moved it to LS repo since the LS integration with the extension is owned by the LS team.

@jakebailey
Copy link
Member

Going to leave this open for a bit, will talk w/ PMs to see if we want to do this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants