Function
getMultiplePickableOptions
(
options: T[],
config?: vscode.QuickPickOptions
)
Source from the content-addressed store, hash-verified
| 268 | ) => await vscode.window.showQuickPick<T>(options, config); |
| 269 | |
| 270 | export const getMultiplePickableOptions = async <T extends vscode.QuickPickItem>( |
| 271 | options: T[], |
| 272 | config?: vscode.QuickPickOptions |
| 273 | ) => await vscode.window.showQuickPick<T>(options, { ...config, canPickMany: true }); |
| 274 | |
| 275 | export const sanitizePath = (path: string) => (path.startsWith("/") ? path : `/${path}`); |
| 276 | |
Tested by
no test coverage detected