Comments (7)
Make sure echo exists('*nvim_open_win')
is 1
.
from coc-python.
The call always returns 1.
May be interesting: The completion popups work all the time, only the linter messages are not shown. This does not seem to be a general popup window issue.
I also recognized that the "_" marker on the lines with the linter issues are not visible. Not true...
from coc-python.
The diagnostics you have should comes from other plugin like ALE which enables all linters for you without any configuration.
Run :CocList diagnostics
to get list of diagnostics from coc.
from coc-python.
:CocList diagnostics
is showing the messages just fine. Only the popups break from time to time
This is my current coc-settings.json:
{
// https://github.com/neoclide/coc.nvim/blob/master/data/schema.json<Paste>
"suggest.enablePreview": true,
"suggest.triggerAfterInsertEnter": true,
//"suggest.echodocSupport": true,
"signature.enable": true,
"diagnostic.refreshOnInsertMode": true,
"diagnostic.errorSign": "\uf05e",
"diagnostic.infoSign": "\uf071",
"coc.preferences.formatOnSaveFiletypes": ["python"],
"python.pythonPath": "${workspaceFolder}/.venv/bin/python",
"python.autoComplete.extraPaths": [
"${workspaceFolder}/livestatus/api/python",
],
"python.autoComplete.typeshedPaths": [],
"python.venvFolders": [".venv"],
"python.venvPath": "${workspaceFolder}",
"python.analysis.disabled": ["undefined-variable"],
"python.jediEnabled": false,
"python.linting.pylintEnabled": true,
"python.linting.pylintPath": "${workspaceFolder}/.venv/bin/pylint",
"python.linting.pylintUseMinimalCheckers": false,
"python.formatting.provider": "yapf",
"python.linting.mypyEnabled": true,
"python.linting.mypyPath": "${workspaceFolder}/tests/static/.venv/bin/mypy",
"python.linting.mypyArgs": [
"--ignore-missing-imports",
"--follow-imports=silent",
"--show-column-numbers",
"--python-version 2.7",
],
"python.linting.banditEnabled": true,
"python.linting.banditPath": "${workspaceFolder}/.venv/bin/bandit",
// Some optional debugging to get more information via ":CocCommand workspace.showOutput"
"python.trace.server": "verbose",
}
from coc-python.
Only the popups break from time to time.
Could be caused by your other vim plugin, it should be shown after 500ms cursor moved to it.
from coc-python.
I've removed all vim plugins except coc but that did not change anything.
I noticed another thing: I can save a file without changes as often as I want and the popups still work.
But once I add a new line to the file the popups break. Removing a line from the file does not break it.
In the meantime I tried to solve this by using "diagnostic.messageTarget": "echo"
, but the messages also break in this mode.
Looks like the line matching breaks somehow.
...
Ok, one step closer: I had "diagnostic.refreshOnInsertMode": true
. Once I disable it, the popups keep working.
from coc-python.
I guess this should be reopened and considered as bug. Or should I open a new one for coc?
from coc-python.
Related Issues (20)
- yarn install --frozen-lockfile fails HOT 2
- Intellisense low on offers HOT 1
- Cannot disable linting HOT 1
- Wrong Pyright errors. HOT 1
- python.createTerminal not activating virtual env
- iPython as interpreter
- How to make reappear the info of a function
- Why did this happen whenever I opened a python file HOT 1
- "Linter pylint is not installed." Even though it is.
- coc formatter deleting lines when formatting sometimes HOT 1
- Black does not support the "Format Selection" command
- Modified the wrong code, but the underline still exists. HOT 1
- Can't get out of the terminal one interacted with HOT 1
- Uncaught Exception Error on Windows!
- Default ctags exclude list is unconfigurable HOT 1
- Jedi error raised on python completion HOT 2
- Silence [coc.nvim]: Uncaught exception: spawn python2 ENOENT HOT 4
- Autocompletion through Coc vs VS Code HOT 2
- Settings
- Error float window hangs and then not able to get completion HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coc-python.