545: Reveal the newly added source change in the editor. r=matklad a=kjeremy

Fixes #543 

Co-authored-by: Jeremy A. Kolb <jkolb@ara.com>
This commit is contained in:
bors[bot] 2019-01-15 12:10:37 +00:00
commit 2184f7f142

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);
}
}