From bb2331b98e1616b6ab304b59e80b78e1f2e7a118 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sun, 16 Sep 2018 16:25:24 +0300 Subject: goto super places cursor on mod --- editors/code/src/extension.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'editors/code') diff --git a/editors/code/src/extension.ts b/editors/code/src/extension.ts index 2c42c07fe..c464ab5b2 100644 --- a/editors/code/src/extension.ts +++ b/editors/code/src/extension.ts @@ -77,6 +77,7 @@ export function activate(context: vscode.ExtensionContext) { let doc = await vscode.workspace.openTextDocument(uri) let e = await vscode.window.showTextDocument(doc) + e.selection = new vscode.Selection(range.start, range.start) e.revealRange(range, vscode.TextEditorRevealType.InCenter) }) -- cgit v1.2.3