Add a 'open server logs' button to the error notification

This commit is contained in:
Lukas Wirth
2023-01-23 13:10:25 +01:00
parent 84239a1454
commit b9fe5afb30
7 changed files with 58 additions and 12 deletions

View File

@@ -151,6 +151,13 @@ impl Notification for ClearFlycheck {
const METHOD: &'static str = "rust-analyzer/clearFlycheck";
}
pub enum OpenServerLogs {}
impl Notification for OpenServerLogs {
type Params = ();
const METHOD: &'static str = "rust-analyzer/openServerLogs";
}
#[derive(Deserialize, Serialize, Debug)]
#[serde(rename_all = "camelCase")]
pub struct RunFlycheckParams {