question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CocCommand workspace.showOutput - coc-pyright-linting doesn't show any logs

See original GitHub issue

My :CocConfig:

{
    // Change all location jump, like jump to definition, in new tab.
    // From https://github.com/neoclide/coc.nvim/issues/318#issuecomment-452488348
    "coc.preferences.jumpCommand": "tab drop",

    // coc-pyright
    "python.linting.banditEnabled": true,
    "python.linting.flake8Enabled": true,
    "python.linting.mypyEnabled": true,
    "python.linting.pydocstyleEnabled": true,
    "python.linting.pylintEnabled": true
}

:CocCommand workspace.showOutput - coc-pyright-linting opens an empty vertical split window. It should show active linter:xxx logs.

I have all the linters installed in my system with pipenv, and I execute pipenv shell before using neovim.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:38 (23 by maintainers)

github_iconTop GitHub Comments

1reaction
fannheywardcommented, Dec 29, 2020

@gasull @yaegassy coc-pyright can do nothing for shebang-only Python files. Pyright can only find and analyze *.pyi? files. https://github.com/microsoft/pyright/blob/master/packages/pyright-internal/src/analyzer/service.ts#L962

coc-pyright’s custom linting and formatting already support shebang-only Python files.

1reaction
fannheywardcommented, Dec 29, 2020

Yes, coc-python supports shebang-only.

Read more comments on GitHub >

github_iconTop Results From Across the Web

2507d7 broke language server logging · Issue #2505 - GitHub
Ok, I see. I was able to find workspace.showOutput command in the wiki. There is no mention of this anywhere in the vim...
Read more >
neoclide/coc.nvim - Gitter
Hello all, this morning I updated my nvim to 4.0 and then updated Coc to the latest version. ... showOutput - coc-pyright-linting has...
Read more >
coc-jedi - npm
coc.nvim wrapper for the jedi-language-server for Python. Latest version: 0.34.0, last published: 16 days ago. Start using coc-jedi in your ...
Read more >
How to make coc show linting popup no matter where the ...
In your coc-settings.json file write: { "diagnostic.checkCurrentLine": true }. coc-settings.json can be found in ~/.vim/coc-settings.json.
Read more >
Coc-java not working : r/neovim - Reddit
Maybe the language server did not start properly, check the output of :CocCommand workspace.showOutput. I remember that I had to use at least...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found