mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-01 05:51:32 +01:00
reset dirty state when reverting a notebook, update extension host when dirty state of a notebook (working copy) changes
This commit is contained in:
@@ -48,6 +48,10 @@ export function closeAllEditors(): Thenable<any> {
|
||||
return vscode.commands.executeCommand('workbench.action.closeAllEditors');
|
||||
}
|
||||
|
||||
export function saveAllEditors(): Thenable<any> {
|
||||
return vscode.commands.executeCommand('workbench.action.files.saveAll');
|
||||
}
|
||||
|
||||
export async function revertAllDirty(): Promise<void> {
|
||||
return vscode.commands.executeCommand('_workbench.revertAllDirty');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user