promote showWorkspaceFolderPick to stable API

This commit is contained in:
Benjamin Pasero
2017-10-11 12:22:06 +02:00
parent 355d49ff2e
commit 71cdb6afbc
3 changed files with 27 additions and 31 deletions

View File

@@ -361,9 +361,9 @@ export function createApiFactory(
showQuickPick(items: any, options: vscode.QuickPickOptions, token?: vscode.CancellationToken) {
return extHostQuickOpen.showQuickPick(items, options, token);
},
showWorkspaceFolderPick: proposedApiFunction(extension, (options: vscode.WorkspaceFolderPickOptions) => {
showWorkspaceFolderPick(options: vscode.WorkspaceFolderPickOptions) {
return extHostQuickOpen.showWorkspaceFolderPick(options);
}),
},
showInputBox(options?: vscode.InputBoxOptions, token?: vscode.CancellationToken) {
return extHostQuickOpen.showInput(options, token);
},