дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-04 09:11:10 +02:00
feat(notebook): show the running kernel's variables in a Jupyter Variables tool window (#6517)
A Jupyter Variables tool window (bottom, under the stripe's overflow until first opened; also in Find Action) lists the variables of the last active notebook's kernel: name, type and a truncated repr, hiding private names, modules and IPython's own names. It refreshes after a run, a kernel restart and a switch of notebook, and never starts a kernel. The variables are read with a silent execute_request carrying a user expression (no output, history, execution count or busy/idle status), only while the kernel is idle; a run started meanwhile waits for it, bounded to 10 seconds. A notebook tab restored at startup picks up its session once it opens. Closes #6508 Co-authored-by: wildcatDownstairs <[email protected]>
Цей коміт міститься в:
1 джерело
a0c03447a0
коміт
4ff5739854
19 files changed
+449
-9
No files matched your search
@@ -0,0 +1,27 @@
|
||||
.list {
|
||||
height: 100%;
|
||||
overflow: auto;
|
||||
font-family: var(--font-mono);
|
||||
font-size: var(--fs-code);
|
||||
}
|
||||
|
||||
.row {
|
||||
display: flex;
|
||||
gap: var(--space-2);
|
||||
padding: var(--space-0-5) var(--space-2);
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.name {
|
||||
color: var(--fg-editor);
|
||||
}
|
||||
|
||||
.type {
|
||||
color: var(--fg-muted);
|
||||
}
|
||||
|
||||
.value {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
color: var(--fg-editor);
|
||||
}
|
||||
Reference in new issue
Заблокувати користувача