Reveal the newly added source change in the editor.
This commit is contained in:
@@ -46,5 +46,6 @@ export async function handle(change: SourceChange) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
editor.selection = new vscode.Selection(position, position);
|
editor.selection = new vscode.Selection(position, position);
|
||||||
|
editor.revealRange(new vscode.Range(position, position), vscode.TextEditorRevealType.Default);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user