neoclide / coc-python

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

Intellisense low on offers #304

Open mosheavni opened 3 years ago

mosheavni commented 3 years ago

There's no real suggestions from the language server. Tried both jedi and MPLS. Current configuration:

{
  "coc.preferences.useQuickfixForLocations": true,
  "prettier.tabWidth": 2,
  "python.pythonPath": "/usr/local/bin/python3",
  "python.linting.enabled": true,
  "python.linting.pep8Enabled": false,
  "python.linting.pylintEnabled": true,
  "python.linting.flake8Enabled": false,
  "python.formatting.provider": "black",
  "python.jediEnabled": false,
  "pyright.disableLanguageServices": false,
  "tsserver.reportStyleChecksAsWarnings": true,
  "diagnostic.virtualText": true,
  "diagnostic.virtualTextCurrentLineOnly": false,
  "diagnostic.checkCurrentLine": true,
  "suggest.timeout": 500,
  "suggest.enablePreview": true,
  "suggest.triggerAfterInsertEnter": true
}

image

mosheavni commented 3 years ago

It appears that coc-pyright was the culprit. Apparently jedi also offers those lame choices. What works best is MPLS. What are those suggestions anyway?