neoclide/coc-python

Autocompletion through Coc vs VS Code

iukej opened this issue · 2 comments

iukej commented

Hi all,

  1. When putting Coc side by side with VS Code, the same (local, not standard Python package) has a different set of autocomplete suggestions. Coc has a handful of the correct module.

LHS is Coc, RHS is VS Code. As you can see, the Python paths are identical, they both point to

"/Users/username/anaconda3"

coc_nvim_against_vscode_codecomplete_redac

  1. It's extremely slow to autocomplete.

When I set python.pythonPath as "/Users/username/anaconda3/bin/python" (at python itself), it's extremely fast but only includes packages that come with MPLS. To get everything else, I've appended

"/Users/username/anaconda3/lib/python3.7/site-packages"

to python.autoComplete.extraPaths, and it becomes just as slow as using the original

"/Users/username/anaconda3" within the python.pythonPATH.

I've attached a snapshot of :CocInfo in case it's helpful for context.
brokenautocomplete_redac

Sorry, I can't fix those issues with coc-python

Try other alternatives