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

Method showElement

Extension/ui/settings.ts:408–411  ·  view source on GitHub ↗
(elementID: string, show: boolean)

Source from the content-addressed store, hash-verified

406 }
407
408 private showElement(elementID: string, show: boolean): void {
409 // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
410 document.getElementById(elementID)!.style.display = show ? "block" : "none";
411 }
412}
413
414// eslint-disable-next-line @typescript-eslint/no-unused-vars

Callers 4

onAddConfigBtnMethod · 0.95
onAddConfigConfirmMethod · 0.95
showErrorWithInfoMethod · 0.95
setKnownCompilersMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected