mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-10 14:57:14 +00:00
Merge #545
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:
commit
2184f7f142
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user