feat(database): add a Database Output tool window for SQL consoles (#6243)

SQL consoles and files get a Database Output bottom tool window. It follows the active editor, keeps result tabs and errors scoped to each console, and has a client selector (file name with its data source) for looking at another run, plus a button to open that client in its editor. Run and Explain reveal the current client's results while keeping editor focus; background completions and late Explain responses leave the selected client in view. Switching clients or destinations never re-runs SQL. Settings > Tools > Database can send results to Services instead.

Closes #6176

Co-authored-by: principalwater <[email protected]>
Цей коміт міститься в:
Vladislav Kuzmin authored and GitHub committed 2026-11-28 08:56:19 +08:00
1 джерело 45f6366b92
коміт c04d9381be
20 files changed
+867 -146

No files matched your search

+15
Переглянути файл
@@ -158,6 +158,21 @@
.resultTabs {
padding-inline: var(--space-2);
}
.outputStrip {
display: flex;
align-items: center;
gap: var(--space-1);
padding-inline-start: var(--space-2);
min-width: 0;
}
.outputStrip .resultTabs {
flex: 1;
min-width: 0;
}
.outputClient {
max-width: 40%;
flex: none;
}
.toolbar {
display: flex;
align-items: center;