neoclide / coc-python

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

Command python.upgradePythonLanguageServer not found #73

Closed wbthomason closed 5 years ago

wbthomason commented 5 years ago

When I try to run :CocCommand python.upgradePythonLanguageServer (using completion for the command name from the menu that comes up when :CocCommand is run without arguments, to avoid typos), I get the error in the title. :CocInfo reports nothing unusual and my :CocConfig for coc-python only has "python.jediEnabled": false (so it should be using MPLS) and "python.formatting.provider": "yapf". I'm happy to provide more information, but I'm not really sure where to start debugging this.

chemzqm commented 5 years ago

You have to open python file before invoke this command

wbthomason commented 5 years ago

Ah! Thank you; I did not know that. With other coc plugins (e.g. coc-texlab), the upgrade command has worked outside of buffers of the language server's filetype.

Thanks!

Congee commented 5 years ago

@chemzqm opening a python file does not help. how should I debug it?