You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of (1) collecting diagnostics for all open documents and (2) publishing diagnostics. We might want to consider (1) collecting diagnostics for the last modified/opened file, (2) publish these diagnostics, (3) collect diagnostics for the other files, (4) publish these other diagnostics.
This would take longer overall, but my guess would be that it would give the impression that the lsp is faster. To implement, the diagnostic update sent from the LanguageServer to DiagnosticsServer would include a collection of specifiers to prioritize.
One downside to this, is that it would make the LSP tests more complicated so this would be a largish task to implement. If/when implementing we should create a way to make testing the LSP easier and not as verbose.