Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: lsp-ui-sideline for all errors and warning not only the ones that is hovered #723

Open
Ghibranalj opened this issue Jul 11, 2022 · 1 comment

Comments

@Ghibranalj
Copy link

It would be nice to have a boolean variable to enable showing all errors. It would be something like virtual text in neovim.

Something like this:
Screenshot from 2022-07-11 22-55-49

@zjp
Copy link

zjp commented Jul 21, 2024

I opened a duplicate issue about this a few weeks ago, but closed it when I became aware of this issue. I'm working on an implementation of this here: https://github.com/zjp/lsp-ui/tree/show-all-diagnostics

Current issues:

If you have hl-line mode on the hightlight disappears between the end of the line you're on and the diagnostic

It looks funny to have diagnostics on lines the point is not on be shown above their lines. You can choose to show them on the same line as the sideline markers, but if a line has multiple diagnostics to show, one diagnostic will be shown and the rest of the diagnostics disappear (you can see this in action by bringing line 372 of lsp-ui-sideline.el into view).

It's really annoying to have the diagnostics flicker on every motion, so when showing all diagnostics they're supposed to update only when the contents of the buffer change. For some reason, sometimes you can get duplicated messages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants