Giter Site home page Giter Site logo

Comments (5)

HaraldKi avatar HaraldKi commented on July 3, 2024

Indeed for diagnostics, in particular compiler error messages, the sideline is not that helpful. I don't have the editor window full screen, so even with a Lsp Ui Sideline Diagnostic Max Line Length of 150 many compiler error message fall off the screen to the right.

from lsp-ui.

jcs090218 avatar jcs090218 commented on July 3, 2024

You can turn off the diagnostic by setting lsp-ui-sideline-show-diagnostics to nil.

from lsp-ui.

Martinsos avatar Martinsos commented on July 3, 2024

You can turn off the diagnostic by setting lsp-ui-sideline-show-diagnostics to nil.

What do I get with that though -> they start showing in minibuffer, right?

What I was hoping for instead was to have them in the popup, or on the sideline but better formatted.

from lsp-ui.

jcs090218 avatar jcs090218 commented on July 3, 2024

What do I get with that though -> they start showing in minibuffer, right?

No, it depends on the value of the variable flycheck-display-errors-function. The default value is #'flycheck-display-error-messages, so you will see it in the minibuffer.

What I was hoping for instead was to have them in the popup, or on the sideline but better formatted.

Here are some alternatives:

from lsp-ui.

HaraldKi avatar HaraldKi commented on July 3, 2024

I tried flycheck-popup-tip as well as flycheck-posframe and both have problems with flycheck-next/previous-error.

  • The first one has a post-command hook which seems to immediately remove the popup again.
  • The second one show the popup only if the flycheck-next-error jumps to a position which does not need scrolling. If scrolling is needed, no popup is shown.

Both work when using cursor movement to walk the cursor onto a point where flycheck has marked an error.

I am not asking anyone to investigate this, as reasons may still be found in my peculiar setup, but the above may safe someone some head scratching when seeing the same problems.

from lsp-ui.

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.