We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 675314d commit 1f2fc4cCopy full SHA for 1f2fc4c
src/vs/workbench/contrib/notebook/browser/controller/executeActions.ts
@@ -156,7 +156,11 @@ registerAction2(class ExecuteNotebookAction extends NotebookAction {
156
group: 'navigation/execute',
157
when: ContextKeyExpr.and(
158
executeNotebookCondition,
159
- ContextKeyExpr.or(NOTEBOOK_INTERRUPTIBLE_KERNEL.toNegated(), NOTEBOOK_HAS_SOMETHING_RUNNING.toNegated()),
+ ContextKeyExpr.or(
160
+ NOTEBOOK_INTERRUPTIBLE_KERNEL.toNegated(),
161
+ NOTEBOOK_HAS_SOMETHING_RUNNING.toNegated(),
162
+ ),
163
+ ContextKeyExpr.and(NOTEBOOK_HAS_SOMETHING_RUNNING, NOTEBOOK_INTERRUPTIBLE_KERNEL.toNegated())?.negate(),
164
ContextKeyExpr.equals('config.notebook.globalToolbar', true)
165
)
166
}
0 commit comments