diff --git a/src/vs/vscode.proposed.d.ts b/src/vs/vscode.proposed.d.ts index d48d52e96eecab8edfff78fc5b34d28bf0f80a79..d078e33475fb7692e1e8ec1182a73e3fa576e0e0 100644 --- a/src/vs/vscode.proposed.d.ts +++ b/src/vs/vscode.proposed.d.ts @@ -833,6 +833,21 @@ declare module 'vscode' { // deleteText(uri: Uri, range: Range): void; } + export namespace workspace { + /** + * Make changes to one or many resources as defined by the given + * [workspace edit](#WorkspaceEdit). + * + * The editor implements an 'all-or-nothing'-strategy and that means failure to modify, + * delete, rename, or create one file will abort the operation. In that case, the thenable returned + * by this function resolves to `false`. + * + * @param edit A workspace edit. + * @return A thenable that resolves when the edit could be applied. + */ + export function applyEdit(edit: WorkspaceEdit): Thenable; + } + //#endregion //#region mjbvz,joh: https://github.com/Microsoft/vscode/issues/43768