MCPcopy Create free account
hub / github.com/Noumena-Network/code / isLspRecommendationsDisabled

Function isLspRecommendationsDisabled

src/utils/plugins/lspRecommendation.ts:351–357  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

349 * - User has ignored MAX_IGNORED_COUNT recommendations
350 */
351export function isLspRecommendationsDisabled(): boolean {
352 const config = getGlobalConfig()
353 return (
354 config.lspRecommendationDisabled === true ||
355 (config.lspRecommendationIgnoredCount ?? 0) >= MAX_IGNORED_COUNT
356 )
357}
358
359/**
360 * Reset the ignored count (useful if user re-enables recommendations)

Callers 1

getMatchingLspPluginsFunction · 0.85

Calls 1

getGlobalConfigFunction · 0.50

Tested by

no test coverage detected