MCPcopy Create free account
hub / github.com/microsoft/vscode-extension-samples / quickOpen

Function quickOpen

quickinput-sample/src/quickOpen.ts:18–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16 * the user's input in the filter field.
17 */
18export async function quickOpen() {
19 const uri = await pickFile();
20 if (uri) {
21 const document = await workspace.openTextDocument(uri);
22 await window.showTextDocument(document);
23 }
24}
25
26class FileItem implements QuickPickItem {
27

Callers

nothing calls this directly

Calls 1

pickFileFunction · 0.85

Tested by

no test coverage detected