mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 20:42:04 +00:00
Add a 'open server logs' button to the error notification
This commit is contained in:
parent
84239a1454
commit
b9fe5afb30
7 changed files with 58 additions and 12 deletions
|
@ -187,6 +187,11 @@ export class Ctx {
|
|||
this.setServerStatus(params)
|
||||
)
|
||||
);
|
||||
this.pushClientCleanup(
|
||||
this._client.onNotification(ra.openServerLogs, () => {
|
||||
this.outputChannel!.show();
|
||||
})
|
||||
);
|
||||
}
|
||||
return this._client;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue