python-language-server
python-language-server copied to clipboard
separate language server to standalone directory , avoid re-download it when extension auto update
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 ?
/cc @jakebailey @judej
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).
Moved it to LS repo since the LS integration with the extension is owned by the LS team.
Going to leave this open for a bit, will talk w/ PMs to see if we want to do this.