MCPcopy
hub / github.com/PowerShell/vscode-powershell / showInputPrompt

Function showInputPrompt

src/features/Console.ts:131–138  ·  view source on GitHub ↗
(
    promptDetails: IShowInputPromptRequestArgs,
)

Source from the content-addressed store, hash-verified

129}
130
131async function showInputPrompt(
132 promptDetails: IShowInputPromptRequestArgs,
133): Promise<IShowInputPromptResponseBody> {
134 const responseText = await vscode.window.showInputBox({
135 placeHolder: promptDetails.name + ": ",
136 });
137 return onInputEntered(responseText);
138}
139
140function onItemsSelected(
141 chosenItems: ICheckboxQuickPickItem[] | undefined,

Callers 1

onLanguageClientSetMethod · 0.85

Calls 1

onInputEnteredFunction · 0.85

Tested by

no test coverage detected