[Media] [Media, No AI*] What do you think about this method to show LSP diagnostics?
![[Media] [Media, No AI*] What do you think about this method to show LSP diagnostics?](https://i.redd.it/g3xge8y7e7ug1.gif)
Hello, I've been working on the LSP integration for my text editor duat, which is a text editor that is built and configured in Rust.
The feature I'm working on right now is diagnostics, and I've come across the issue of how to show those that are related.
I think that, for experienced enough rust users, always showing hints about where you first borrowed something could become kind of annoying, so I though about using a hybrid approach instead.
This approach would only show the diagnostics of the main thing (the error), while the hints about additional information would be displayed only when hovering over them. This would also be used for other frequently encountered minor compile time errors.
I wanted to make this the default behavior of Duat in regards to diagnostics. One could change it so the hints are only shown when hovered/cursored over for example.
What do you think about this approach?
No AI*: Claude is mentioned as a contributor because there was a merged pull request that contained some AI generated code. However, it was only the addition of a colorscheme, and I didn't notice at the time. Nothing else in the repository is AI generated. You can check the git history for proof.