MCPcopy Create free account
hub / github.com/LPC4/Full-Stack / render_structured_diagnostics

Function render_structured_diagnostics

src/view/ide/source_view.rs:164–257  ·  view source on GitHub ↗

Render diagnostics with a clickable header, source line + caret, and note. A click on a span-bearing diagnostic sets `goto_line` to jump the editor.

(
    ui: &mut egui::Ui,
    panel_id: egui::Id,
    panel_height: f32,
    diags: &[Diagnostic],
    goto_line: &mut Option<u32>,
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

uiMethod · 0.85

Calls 4

ui_themeFunction · 0.85
anyMethod · 0.80
alert_frameMethod · 0.80
colorMethod · 0.80

Tested by

no test coverage detected