-
-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(lsp): join multiple visually selected lines (RustLsp joinLines
)
#339
Conversation
Review ChecklistDoes this PR follow the Contribution Guidelines? Following is a partial checklist: Proper conventional commit scoping:
If applicable:
|
if true {
dbg!(println!("Hello, world!"));
}
if false {
println!("Hello, world!");
} Am i doing something wrong? If i visually select the first 3 lines with if true { dbg!(println!("Hello, world!")); } else if false {
println!("Hello, world!");
} |
It seems its counting lines + 1 for the # of lines selected. selecting 2 rows gives expected result of selecting 3 rows |
I guess that's an implementation detail of rust-analyzer? Does it behave differently in vscode? |
im not sure i dont use vscode. its not a dealbreaker i guess, but definitely is weird |
thank you for adding it though! |
Closes #335