Reveal the newly added source change in the editor.

This commit is contained in:
Jeremy A. Kolb 2019-01-14 17:24:49 -05:00
parent e8e82ce032
commit cd21f0eade

View File

@ -46,5 +46,6 @@ export async function handle(change: SourceChange) {
return;
}
editor.selection = new vscode.Selection(position, position);
editor.revealRange(new vscode.Range(position, position), vscode.TextEditorRevealType.Default);
}
}