From f47f58ffe5fb494c883ec4fd120cdd63ad31cc68 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Fri, 24 Aug 2018 00:13:16 +0300 Subject: better join-lines --- code/src/extension.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'code/src') diff --git a/code/src/extension.ts b/code/src/extension.ts index 134459f30..df2109f50 100644 --- a/code/src/extension.ts +++ b/code/src/extension.ts @@ -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 -- cgit v1.2.3