MCPcopy Create free account
hub / github.com/microsoft/vscode-cpptools / showPrompt

Method showPrompt

Extension/src/LanguageServer/client.ts:1133–1139  ·  view source on GitHub ↗
(sender?: any)

Source from the content-addressed store, hash-verified

1131 }
1132
1133 public async showPrompt(sender?: any): Promise<void> {
1134 const buttonMessage: string = localize("selectIntelliSenseConfiguration.string", "Select IntelliSense Configuration...");
1135 const value: string | undefined = await vscode.window.showInformationMessage(localize("setCompiler.message", "You do not have IntelliSense configured. Unless you set your own configurations, IntelliSense may not be functional."), buttonMessage);
1136 if (value === buttonMessage) {
1137 return this.handleIntelliSenseConfigurationQuickPick(sender);
1138 }
1139 }
1140
1141 public async handleIntelliSenseConfigurationQuickPick(sender?: any, showCompilersOnly?: boolean): Promise<void> {
1142 const settings: CppSettings = new CppSettings(showCompilersOnly ? undefined : this.RootUri);

Tested by

no test coverage detected