mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 04:19:13 +00:00
better join-lines
This commit is contained in:
parent
8ad586a44e
commit
f47f58ffe5
3 changed files with 12 additions and 1 deletions
|
@ -50,6 +50,7 @@ export function activate(context: vscode.ExtensionContext) {
|
|||
let anchor = sel.isEmpty ? active : sel.anchor
|
||||
return new vscode.Selection(anchor, active)
|
||||
})
|
||||
editor.revealRange(editor.selection)
|
||||
})
|
||||
registerCommand('libsyntax-rust.joinLines', async () => {
|
||||
let editor = vscode.window.activeTextEditor
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue