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
I use rust-analyzer in VSCode.
with all default settings.
Check out the gif: when press reformat-hot-key:
my comments move away from the same line of code,
which is really not good-looking.
if the comments is at the same line of code ,
reading the codes will be much more fluent.
Making the comments become optional read.
The code I wish when reformat.
fnmain(){let guess:u32 = match guess.trim().parse(){// :u32 : type casting, work with .parse()Ok(num) => num,Err(_) => {//_ means any errorprintln!("Please input numbers!");continue;}};}
The code I don`t like when reformat:
fnmain(){let guess:u32 = match guess.trim().parse(){// :u32 : type casting, work with .parse()Ok(num) => num,Err(_) => {//_ means any errorprintln!("Please input numbers!");continue;}};}
I want to get some help with it,
and I assume maybe some people also need this formatting behaviour.
The text was updated successfully, but these errors were encountered:
I use rust-analyzer in VSCode.
with all default settings.
Check out the gif: when press reformat-hot-key:
my comments move away from the same line of code,
which is really not good-looking.
if the comments is at the same line of code ,
reading the codes will be much more fluent.
Making the comments become optional read.
The code I wish when reformat.
The code I don`t like when reformat:
I want to get some help with it,
and I assume maybe some people also need this formatting behaviour.
The text was updated successfully, but these errors were encountered: