aboutsummaryrefslogtreecommitdiff
path: root/editors/code
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-09-16 14:25:24 +0100
committerAleksey Kladov <[email protected]>2018-09-16 14:25:24 +0100
commitbb2331b98e1616b6ab304b59e80b78e1f2e7a118 (patch)
tree559e09db17deeac30e8e07526116e389d3833846 /editors/code
parentb5cb53ea93f2573b76515a0b651eeb13bb5a74f0 (diff)
goto super places cursor on mod
Diffstat (limited to 'editors/code')
-rw-r--r--editors/code/src/extension.ts1
1 files changed, 1 insertions, 0 deletions
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) {
77 77
78 let doc = await vscode.workspace.openTextDocument(uri) 78 let doc = await vscode.workspace.openTextDocument(uri)
79 let e = await vscode.window.showTextDocument(doc) 79 let e = await vscode.window.showTextDocument(doc)
80 e.selection = new vscode.Selection(range.start, range.start)
80 e.revealRange(range, vscode.TextEditorRevealType.InCenter) 81 e.revealRange(range, vscode.TextEditorRevealType.InCenter)
81 }) 82 })
82 83