Giter VIP home page Giter VIP logo

Comments (6)

last-partizan avatar last-partizan commented on June 15, 2024 1

@yaegassy thank you.

For now i configured another workaround - i was using coc-diagnostic-next to jump between errors, but i switched to coc-diagnostic-next-error, so i can jump only to errors and able to see warnings also.

from coc-pyright.

fannheyward avatar fannheyward commented on June 15, 2024

Test with Pyright + VSCode, same issue.

from coc-pyright.

last-partizan avatar last-partizan commented on June 15, 2024

@fannheyward so, this looks like pyright-langserver issue, and must be reported there?

from coc-pyright.

fannheyward avatar fannheyward commented on June 15, 2024

Yes, looks like Pyright doesn't resolve the configuration correctly.

from coc-pyright.

yaegassy avatar yaegassy commented on June 15, 2024

You asked this question on the pyright gitter, and I'll post a link to this issue as well.

https://gitter.im/microsoft-pyright/community?at=5f3a8e16b7818b3998021c74

The diagnostic part of this issue does not seem to be controlled by python.analysis.diagnosticSeverityOverrides.

from coc-pyright.

yaegassy avatar yaegassy commented on June 15, 2024

@fannheyward @last-partizan

As for the current situation of coc-pyright and pyright itself, the only way to disable the diagnostic "hint messages" is to set the diagnostic.level to information or higher (warning or error).

You might want to use :CocLocalConfig to create and configure a "project-level" .vim/coc-settings.json.


.vim/coc-settings.json

{
  "diagnostic.level": "information"
}

from coc-pyright.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.