Expand description
First-class diagnostics data model.
This module stores structured diagnostics (errors/warnings/hints) as derived editor state. Renderers can use this for:
- problems panels / gutter markers
- hover tooltips / inline messages
- mapping diagnostics back to style layers (underlines)
Structs§
- Diagnostic
- A single diagnostic item for the current document.
- Diagnostic
Range - A half-open character-offset range (
start..end) in the document.
Enums§
- Diagnostic
Severity - Diagnostic severity levels.