mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-29 13:03:42 +01:00
offer reload action when extension host dies
This commit is contained in:
@@ -154,6 +154,10 @@ export class ElectronWindow {
|
||||
this.win.close();
|
||||
}
|
||||
|
||||
public reload(): void {
|
||||
ipc.send('vscode:reloadWindow', this.win.id);
|
||||
}
|
||||
|
||||
public showMessageBox(options: Electron.Dialog.ShowMessageBoxOptions): number {
|
||||
return remote.dialog.showMessageBox(this.win, options);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user