Skip to content

Commit 2204724

Browse files
committed
internal: Pretty-print Config in status command
Config can become very big, even for relatively small rust project, and printing everything on one line makes reading the output in VS Code harder.
1 parent 1fbaccd commit 2204724

File tree

1 file changed

+1
-1
lines changed
  • src/tools/rust-analyzer/crates/rust-analyzer/src/handlers

1 file changed

+1
-1
lines changed

src/tools/rust-analyzer/crates/rust-analyzer/src/handlers/request.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ pub(crate) fn handle_analyzer_status(
119119
format_to!(buf, "{}", crate::version());
120120

121121
buf.push_str("\nConfiguration: \n");
122-
format_to!(buf, "{:?}", snap.config);
122+
format_to!(buf, "{:#?}", snap.config);
123123

124124
Ok(buf)
125125
}

0 commit comments

Comments
 (0)