Example #1
0
	showSaveDialog(options: vscode.SaveDialogOptions): Promise<URI> {
		return this._proxy.$showSaveDialog(options).then(filepath => {
			return filepath && URI.revive(filepath);
		});
	}
Example #2
0
	showSaveDialog(options: vscode.SaveDialogOptions): Thenable<URI> {
		return this._proxy.$showSaveDialog(options).then(filepath => {
			return filepath && URI.file(filepath);
		});
	}
Example #3
0
	showOpenDialog(options: vscode.OpenDialogOptions): Promise<URI[]> {
		return this._proxy.$showOpenDialog(options).then(filepaths => {
			return filepaths && filepaths.map(URI.revive);
		});
	}
Example #4
0
	showOpenDialog(options: vscode.OpenDialogOptions): Thenable<URI[]> {
		return this._proxy.$showOpenDialog(options).then(filepaths => {
			return filepaths && filepaths.map(URI.file);
		});
	}