Closed rbhanot4739 closed 4 years ago
MPLS needs some time to initialize
1-2 minutes to initilalize ? Then how come in other project it just works instantly within 1 sec ? If it takes this much time to initialize in independent python files just to load then it effectively means we can start the actual work only after 2 minutes ?
Yes, it's known issue of MPLS, depends on the python path it have searched
My environment
I have installed
coc-python
extension and set thepython.jediEnabled: false
and have followed everything exactly as mentioned in the docs, however there seems to be some issue in loading the extension. There is a delay of 1-2 before the extension actually loads, for the first 1-2 minutes after opening the python files, the features like autocompletion, go to definions etc does not work. And only after this delay things start to work.However if I open any python project which has its own venv and everything seems to work just fine. I cannot show the delay in screen shots but here is the output of
cocInfo
for two different python files.Here is a simple python file
test.py
CocInfo for above file
if I list the laoded extensions using
cocList extensions
thecoc-python
extension shows as loaded.Now here is the outpout of
cocInfo
for a file which is inside a python project which has its own virtul env, here extension loads correctly and everython starts to work instantly as soon as I open a file.coc-settings.json
Please let me know if some more info is needed for troubleshooting this.