()
| 360 | * Reset the ignored count (useful if user re-enables recommendations) |
| 361 | */ |
| 362 | export function resetIgnoredCount(): void { |
| 363 | saveGlobalConfig(currentConfig => { |
| 364 | const currentCount = currentConfig.lspRecommendationIgnoredCount ?? 0 |
| 365 | if (currentCount === 0) { |
| 366 | return currentConfig |
| 367 | } |
| 368 | return { |
| 369 | ...currentConfig, |
| 370 | lspRecommendationIgnoredCount: 0, |
| 371 | } |
| 372 | }) |
| 373 | logForDebugging('[lspRecommendation] Reset ignored count') |
| 374 | } |
nothing calls this directly
no test coverage detected