diff options
author | rebornix <penn.lv@gmail.com> | 2022-05-25 19:33:13 +0300 |
---|---|---|
committer | rebornix <penn.lv@gmail.com> | 2022-05-25 19:33:13 +0300 |
commit | 4cf4438fc001e0c925905af51577cfc1db72f42c (patch) | |
tree | 39ce760e8dc9f840054b968284c983b604d06c94 /src/vs/workbench/contrib/notebook/common | |
parent | bf7ec548f58cae6421d62206137763fa1a2452b4 (diff) |
Ensure execution and kernel status visible when there are source commands contributed.
Diffstat (limited to 'src/vs/workbench/contrib/notebook/common')
-rw-r--r-- | src/vs/workbench/contrib/notebook/common/notebookContextKeys.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vs/workbench/contrib/notebook/common/notebookContextKeys.ts b/src/vs/workbench/contrib/notebook/common/notebookContextKeys.ts index 689f9ca995e..882a76d6092 100644 --- a/src/vs/workbench/contrib/notebook/common/notebookContextKeys.ts +++ b/src/vs/workbench/contrib/notebook/common/notebookContextKeys.ts @@ -43,6 +43,7 @@ export const NOTEBOOK_CELL_RESOURCE = new RawContextKey<string>('notebookCellRes // Kernels export const NOTEBOOK_KERNEL = new RawContextKey<string>('notebookKernel', undefined); export const NOTEBOOK_KERNEL_COUNT = new RawContextKey<number>('notebookKernelCount', 0); +export const NOTEBOOK_KERNEL_SOURCE_COUNT = new RawContextKey<number>('notebookKernelSourceCount', 0); export const NOTEBOOK_KERNEL_SELECTED = new RawContextKey<boolean>('notebookKernelSelected', false); export const NOTEBOOK_INTERRUPTIBLE_KERNEL = new RawContextKey<boolean>('notebookInterruptibleKernel', false); export const NOTEBOOK_MISSING_KERNEL_EXTENSION = new RawContextKey<boolean>('notebookMissingKernelExtension', false); |