MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / isBuiltinFeatureEnabled

Function isBuiltinFeatureEnabled

src/settings/lspServerDetail.js:458–463  ·  view source on GitHub ↗
(builtinExts, extKey)

Source from the content-addressed store, hash-verified

456}
457
458function isBuiltinFeatureEnabled(builtinExts, extKey) {
459 if (extKey === "inlayHints") {
460 return builtinExts?.[extKey] === true;
461 }
462 return builtinExts?.[extKey] !== false;
463}
464
465async function persistEnabled(serverId, value) {
466 await updateServerConfig(serverId, { enabled: value });

Callers 2

createItemsFunction · 0.85
refreshVisibleStateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected