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

Method onLanguageClientSet

src/features/Console.ts:276–288  ·  view source on GitHub ↗
(languageClient: LanguageClient)

Source from the content-addressed store, hash-verified

274 }
275
276 public override onLanguageClientSet(languageClient: LanguageClient): void {
277 this.handlers = [
278 languageClient.onRequest(
279 ShowChoicePromptRequestType,
280 (promptDetails) => showChoicePrompt(promptDetails),
281 ),
282
283 languageClient.onRequest(
284 ShowInputPromptRequestType,
285 (promptDetails) => showInputPrompt(promptDetails),
286 ),
287 ];
288 }
289}

Callers 1

startLanguageClientMethod · 0.45

Calls 2

showChoicePromptFunction · 0.85
showInputPromptFunction · 0.85

Tested by

no test coverage detected