Skip to content

Commit 909144f

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 f9935be commit 909144f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)