MCPcopy Index your code
hub / github.com/microsoft/vscode-cpptools / showWarningMessage

Method showWarningMessage

Extension/src/logger.ts:64–71  ·  view source on GitHub ↗
(message: string, items?: string[])

Source from the content-addressed store, hash-verified

62
63 // We should not await on this function.
64 public showWarningMessage(message: string, items?: string[]): Thenable<string | undefined> {
65 this.appendLine(message);
66
67 if (!items) {
68 return vscode.window.showWarningMessage(message);
69 }
70 return vscode.window.showWarningMessage(message, ...items);
71 }
72
73 // We should not await on this function.
74 public showErrorMessage(message: string, items?: string[]): Thenable<string | undefined> {

Callers 9

expandStringImplFunction · 0.80
checkVsixCompatibilityFunction · 0.80
doneFunction · 0.80
initializeFunction · 0.80
showFileWarningAsyncMethod · 0.80
parsePropertiesFileMethod · 0.80
showMessageWindowFunction · 0.80
onDisabledCommandFunction · 0.80

Calls 1

appendLineMethod · 0.95

Tested by

no test coverage detected