uni-bremen-agst / SEE

Collaborative Software Visualization with SEE (Software Engineering Experience)
https://see.uni-bremen.de
MIT License
19 stars 3 forks source link

Collect publish-based LSP diagnostics in background #746

Open falko17 opened 3 months ago

falko17 commented 3 months ago

As part of the LSP import process, we have to collect diagnostics, which are used to display erosion icons.

LSP diagnostics can be sent to the client in two ways:

Currently, we handle publish-based diagnostics by listening for diagnostic messages until the end of the LSP import process, any further diagnostics are then lost. This should be changed so that diagnostics keep being collected in the background, updating the nodes in the process. Additionally, the ErosionIssues has to become an observer of the nodes and has to update the icons whenever a change occurs, preferably only once per frame (or even less often than that).