Skip to content

fix(ide): lower unused diagnostics to hints#145

Merged
hongjr03 merged 1 commit into
masterfrom
fix/macro-unused-diagnostic-noise
May 26, 2026
Merged

fix(ide): lower unused diagnostics to hints#145
hongjr03 merged 1 commit into
masterfrom
fix/macro-unused-diagnostic-noise

Conversation

@hongjr03
Copy link
Copy Markdown
Member

This change maps diagnostics tagged as Unnecessary to LSP DiagnosticSeverity::HINT while preserving the existing diagnostic code and metadata. The inactive macro branch diagnostics added earlier still carry DiagnosticTag::UNNECESSARY for VS Code fading, but they no longer show as information-level diagnostics with a blue squiggle.

Validation: cargo fmt --all -- --check; cargo test -p vizsla diagnostic_maps_unnecessary_tag_as_hint; cargo test -p vizsla diagnostics; cargo clippy -p vizsla --all-targets -- -D warnings.

@hongjr03 hongjr03 marked this pull request as ready for review May 26, 2026 06:03
@hongjr03 hongjr03 merged commit 5f5e14d into master May 26, 2026
7 checks passed
@hongjr03 hongjr03 deleted the fix/macro-unused-diagnostic-noise branch May 26, 2026 06:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant