microsoft / language-server-protocol

Defines a common protocol for language servers.
https://microsoft.github.io/language-server-protocol/
Creative Commons Attribution 4.0 International
10.95k stars 766 forks source link

Recommend a default diagnostic severity for clients #1978

Closed remcohaszing closed 1 week ago

remcohaszing commented 1 week ago

Add a recommendation for clients to interpret diagnostics without a severity as an error.

In #1958 I proposed some recommendations. In #1973 the recommandation was added to always specify the diagnostic severity. This change adds a recommendation for clients how to interpret diagnostics without a severity.