mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
internal: add more output to the status command
This commit is contained in:
parent
9d86412498
commit
d0017cef9b
1 changed files with 7 additions and 0 deletions
|
@ -111,6 +111,13 @@ pub(crate) fn handle_analyzer_status(
|
||||||
.status(file_id)
|
.status(file_id)
|
||||||
.unwrap_or_else(|_| "Analysis retrieval was cancelled".to_owned()),
|
.unwrap_or_else(|_| "Analysis retrieval was cancelled".to_owned()),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
buf.push_str("\nVersion: \n");
|
||||||
|
format_to!(buf, "{}", crate::version());
|
||||||
|
|
||||||
|
buf.push_str("\nConfiguration: \n");
|
||||||
|
format_to!(buf, "{:?}", snap.config);
|
||||||
|
|
||||||
Ok(buf)
|
Ok(buf)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue