Restructure LSP log view to show log messages in addition to RPC trace

This commit is contained in:
Max Brunsfeld 2023-06-07 14:48:08 -07:00
parent 78f9642ac2
commit 66f215cd13
5 changed files with 337 additions and 138 deletions

View file

@ -748,6 +748,15 @@ impl fmt::Display for LanguageServerId {
}
}
impl fmt::Debug for LanguageServer {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
f.debug_struct("LanguageServer")
.field("id", &self.server_id.0)
.field("name", &self.name)
.finish_non_exhaustive()
}
}
impl Drop for Subscription {
fn drop(&mut self) {
match self {