neoclide / coc-python

Python extension for coc.nvim, fork of vscode-python
574 stars 51 forks source link

[mspyls] LS keeps analyzing in background from start after vim restart #117

Open braun-steven opened 4 years ago

braun-steven commented 4 years ago

Hi,

when I open Vim in a directory that contains a virtualenv (env) the coc-status output in the statusline shows the following:

which goes down to zero after a few seconds/minutes.

If I now close vim and reopen it, the same happens again. It seems that the indexing cache cannot be found?

baogiadoan commented 4 years ago

me too having the same problem, did you find anyway to solve it?

yujinyuz commented 3 years ago

This seems to be an issue of the python language server and it seems that it won't be fixed https://github.com/microsoft/python-language-server/issues/848

I suggest switching to another language server e.g. jedi

Update: Oops. I'm not even sure anymore because of this in the docs:

https://github.com/microsoft/python-language-server/wiki/Module-caching