mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 02:58:56 +01:00
also add showSaveDialog-api, #13807
This commit is contained in:
@@ -21,4 +21,10 @@ export class ExtHostDialogs {
|
||||
return filepaths && filepaths.map(URI.file);
|
||||
});
|
||||
}
|
||||
|
||||
showSaveDialog(options: vscode.SaveDialogOptions): Thenable<URI> {
|
||||
return this._proxy.$showSaveDialog(<any>options).then(filepath => {
|
||||
return filepath && URI.file(filepath);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user