feat(code-insight): compact Language Services status widget for the current file (#7562)

The status item is a compact icon whose badge reflects the active file's servers; the popup lists the current file's servers first, then the project's others, keeping restart, log and update actions.

Fixes #7489
Цей коміт міститься в:
l0ng-ai authored and GitHub committed 2026-12-02 23:23:37 +08:00
1 джерело 37f2dd3ced
коміт 18f28cd804
9 files changed
+239 -97

No files matched your search

+30 -4
Переглянути файл
@@ -11,7 +11,7 @@
background: var(--success);
}
.busy {
background: var(--accent);
background: var(--warning);
animation: pulse 1.2s var(--ease) infinite alternate;
}
.error {
@@ -31,11 +31,35 @@
}
}
.panel {
width: 340px;
padding: 6px 0;
width: min(340px, calc(100vw - 2 * var(--space-3)));
max-height: min(60vh, 440px);
overflow-y: auto;
padding: var(--space-1-5) 0;
font-family: var(--font-ui);
font-size: var(--fs-ui);
}
.widgetIcons {
position: relative;
display: inline-flex;
align-items: center;
gap: var(--space-0-5);
}
.indicator {
position: absolute;
right: -2px;
bottom: -1px;
margin: 0;
box-shadow: 0 0 0 1px var(--bg-frame);
}
.section + .section {
border-top: 1px solid var(--border-popup);
margin-top: var(--space-1);
padding-top: var(--space-1);
}
.empty {
padding: var(--space-1) var(--space-3);
color: var(--fg-subtle);
}
.header {
padding: 2px 12px 6px;
font-size: var(--fs-small);
@@ -55,7 +79,9 @@
}
.name {
color: var(--fg-emphasis);
margin-right: 8px;
margin-right: var(--space-2);
min-width: 0;
overflow-wrap: anywhere;
}
.status {
color: var(--fg-subtle);