Back to tips

See Error and Warning Counts in Project Panel

Display diagnostic badges next to files showing error and warning counts

productivity beginner March 16, 2026 · godruoyi
#diagnostics #project-panel #errors #ui
See Error and Warning Counts in Project Panel

The project panel can now show colored badges displaying the number of errors and warnings for each file, making it easy to spot which files need attention at a glance.

How to Enable

  1. Open Settings (Cmd-, on macOS)
  2. Search for diagnostic_badges
  3. Enable the option
  4. Error counts appear in red, warnings in yellow next to file names

Diagnostic counts automatically bubble up to parent directories, showing the total count for all files within.

Why This Matters

Visual scanning: Quickly identify problematic files without opening them.

Prioritize work: See which files have the most issues at a glance.

Track progress: Watch error counts decrease as you fix issues.

Directory-level view: Parent folders show aggregate counts for all contained files.

When enabled, diagnostic severity takes priority over git status for file text color, while git status remains visible through file icon decorations.

Configuration

The setting is disabled by default. Add to your settings.json:

{
  "diagnostic_badges": true
}