You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rust-analyzer version: (eg. output of "rust-analyzer: Show RA Version" command, accessible in VSCode via Ctrl/⌘+Shift+P) rust-analyzer version: 0.3.2474-standalone (d2f1787 2025-05-23) [/Users/lulu/.vscode/extensions/rust-lang.rust-analyzer-0.3.2474-darwin-arm64/server/rust-analyzer]
editor or extension: (eg. VSCode, Vim, Emacs, etc. For VSCode users, specify your extension version; for users of other editors, provide the distribution if applicable) VSCode 1.100.2
relevant settings: (eg. client settings, or environment variables like CARGO, RUSTC, RUSTUP_HOME or CARGO_HOME)
repository link (if public, optional): (eg. rust-analyzer)
code snippet to reproduce:
//this is a very long comment text to test the line length and ensure that it wraps correctly in the editor
Actual formatted output:
//this is
a very long comment text to
test the line leng
th and ensure that
it wraps correct
ly in the editor
Some characters split into multiple lines even they are not full word which can result in errors after forrmatting this code
The text was updated successfully, but these errors were encountered:
rust-analyzer doesn't do any kind of formatting and even rustfmt doesn't format such comments. I think that you might be using other kind of vscode extension that does such formatting
rust-analyzer version: (eg. output of "rust-analyzer: Show RA Version" command, accessible in VSCode via Ctrl/⌘+Shift+P) rust-analyzer version: 0.3.2474-standalone (d2f1787 2025-05-23) [/Users/lulu/.vscode/extensions/rust-lang.rust-analyzer-0.3.2474-darwin-arm64/server/rust-analyzer]
rustc version: (eg. output of
rustc -V
) rustc 1.87.0 (17067e9ac 2025-05-09) (Homebrew)editor or extension: (eg. VSCode, Vim, Emacs, etc. For VSCode users, specify your extension version; for users of other editors, provide the distribution if applicable) VSCode 1.100.2
relevant settings: (eg. client settings, or environment variables like
CARGO
,RUSTC
,RUSTUP_HOME
orCARGO_HOME
)repository link (if public, optional): (eg. rust-analyzer)
code snippet to reproduce:
//this is a very long comment text to test the line length and ensure that it wraps correctly in the editor
Actual formatted output:
Some characters split into multiple lines even they are not full word which can result in errors after forrmatting this code
The text was updated successfully, but these errors were encountered: