goto super places cursor on mod
This commit is contained in:
@@ -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)
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user