fix(run): 优化 Run/Debug 启动动画反馈 (#2087)

Clicking Run or Debug gave no feedback until a session existed, so a slow launch looked as if nothing had happened.

The widget now shows a spinner as soon as a launch is requested and keeps it through the session's starting state. Pending launches are tracked per configuration, so switching to one already running does not replay it.

Siblings covered: Stop stays available during startup, including the Java build and classpath step, and launches that fail, are cancelled or do nothing clear the spinner.

Co-authored-by: PLZY <[email protected]>
Цей коміт міститься в:
zhangdagouтаPLZY authored and GitHub committed 2026-11-08 22:23:17 +08:00
1 джерело a601a51b94
коміт e8cf744463
7 files changed
+278 -17

No files matched your search

+6
Переглянути файл
@@ -33,6 +33,9 @@
color: var(--fg-muted);
animation: spin 0.9s linear infinite;
}
.spokes {
animation: spin 1s steps(8, end) infinite;
}
@keyframes spin {
to {
transform: rotate(360deg);
@@ -207,4 +210,7 @@
.spinner {
animation-duration: 2.4s;
}
.spokes {
animation: none;
}
}