feat(plugins): a host-owned diagnostics snapshot and line-end annotation order (#3103)

Plugins read problems from a host-owned snapshot that records every Diagnostics event per file and producer, instead of the UI-reported Problems reports, so what a plugin sees no longer depends on window lifetime or the invoking window. Adds the problems-changed workbench event (plugin API 1.8.0, gated at needs_api 8), editor focus events for files of other windows, severity style previews in plugin settings, and lays plugin annotations on the line-end chain before code-vision hints and inline blame. Components and fixtures are rebuilt for API 1.8.0.

Co-authored-by: muutot <[email protected]>
Цей коміт міститься в:
Muuтаmuutot authored and GitHub committed 2026-11-14 00:07:03 +08:00
1 джерело 4d22632609
коміт c8bdfa8edd
169 files changed
+775 -237

No files matched your search

+34
Переглянути файл
@@ -84,3 +84,37 @@
.scalars {
max-width: 560px;
}
/* A severity's sample, drawn the way the annotation appears in the editor: the line-end
message carries the severity colour alone — the wave belongs to the code token, the
message itself is never underlined. The label column is fixed so the samples line up,
one row per setting. */
.exampleRow {
display: grid;
grid-template-columns: 180px minmax(0, 1fr);
align-items: baseline;
column-gap: var(--space-3);
}
.example {
font-family: var(--openidea-editor-font, var(--font-mono));
font-size: var(--fs-code);
white-space: pre-wrap;
}
.example[data-style="error"] {
color: var(--wave-error);
}
.example[data-style="warning"] {
color: var(--wave-warning);
}
.example[data-style="weak"] {
color: var(--fg-weak-warning);
}
.example[data-style="typo"] {
color: var(--wave-typo, var(--success));
}
.example[data-style="info"] {
color: var(--info);
}
.example[data-style="muted"] {
color: var(--fg-muted);
}