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

Method showErrorWithInfo

Extension/ui/settings.ts:343–347  ·  view source on GitHub ↗
(elementID: string, errorInfo: string)

Source from the content-addressed store, hash-verified

341 }
342
343 private showErrorWithInfo(elementID: string, errorInfo: string): void {
344 this.showElement(elementID, errorInfo ? true : false);
345 // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
346 document.getElementById(elementID)!.textContent = errorInfo ? errorInfo : "";
347 }
348
349 private updateConfigSelection(message: any): void {
350 this.updating = true;

Callers 1

updateErrorsMethod · 0.95

Calls 1

showElementMethod · 0.95

Tested by

no test coverage detected