coc-python icon indicating copy to clipboard operation
coc-python copied to clipboard

Autocompletion through Coc vs VS Code

Open iukej opened this issue 3 years ago • 2 comments

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

iukej avatar Dec 09 '20 23:12 iukej

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

chemzqm avatar Dec 10 '20 01:12 chemzqm

Try other alternatives

chemzqm avatar Dec 10 '20 01:12 chemzqm