mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 20:13:32 +01:00
smoke: better reload, better extension search
This commit is contained in:
@@ -63,6 +63,14 @@ export class Driver implements IDriver, IWindowDriverRegistry {
|
||||
.filter(id => this.registeredWindowIds.has(id) && !this.reloadingWindowIds.has(id));
|
||||
}
|
||||
|
||||
async reloadWindow(windowId: number): TPromise<void> {
|
||||
await this.whenUnfrozen(windowId);
|
||||
|
||||
const window = this.windowsService.getWindowById(windowId);
|
||||
this.reloadingWindowIds.add(windowId);
|
||||
window.reload();
|
||||
}
|
||||
|
||||
async dispatchKeybinding(windowId: number, keybinding: string): TPromise<void> {
|
||||
await this.whenUnfrozen(windowId);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user