nvim-lua / diagnostic-nvim

A wrapper for neovim built in LSP diagnosis config
Apache License 2.0
218 stars 15 forks source link

Feature Request: Workspace diagnostics #61

Open ckipp01 opened 4 years ago

ckipp01 commented 4 years ago

Hello! I was wondering if it would be possible for diagnostic-nvim to also offer an option to show all workspace diagnostics instead of the buffer that it was opened from. I know for myself when I'm doing larger refactorings it's extremely helpful to see diagnostics in other places in my codebase.

Another issue I often come across is that I will have a buffer open, OpenDiagnostics, which will show me my diagnostics for the current buffer, and then I will split and open something else to fix something etc. Then I may close the original, which leaves the list open showing diagnostics for my previous buffer.

There is actually a pr for this in the nvim-metals repo, but it's a very simple implementation.

I'd love to hear your thoughts on whether or not this is something you'd consider adding to diagnostic-nvim. Thanks!

haorenW1025 commented 4 years ago

Hmm I'm not very sure about this, currently I'm viewing diagnostic-nvim as a transition project before the built-in LSP has better startup configuration. I've heard that @tjdevries has been working on merging some improvement to the built-in core, so I'm thinking that this should be a feature request in the neovim repository.