Skip to content

Commit f466c77

Browse files
committed
Add fold actions to command palette
1 parent c7c2301 commit f466c77

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

  • src/vs/workbench/contrib/notebook/browser/contrib/fold

src/vs/workbench/contrib/notebook/browser/contrib/fold/folding.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,8 @@ registerAction2(class extends Action2 {
138138
when: ContextKeyExpr.and(NOTEBOOK_EDITOR_FOCUSED, ContextKeyExpr.not(InputFocusedContextKey)),
139139
primary: KeyCode.LeftArrow,
140140
weight: KeybindingWeight.WorkbenchContrib
141-
}
141+
},
142+
f1: true
142143
});
143144
}
144145

@@ -174,7 +175,8 @@ registerAction2(class extends Action2 {
174175
when: ContextKeyExpr.and(NOTEBOOK_EDITOR_FOCUSED, ContextKeyExpr.not(InputFocusedContextKey)),
175176
primary: KeyCode.RightArrow,
176177
weight: KeybindingWeight.WorkbenchContrib
177-
}
178+
},
179+
f1: true
178180
});
179181
}
180182

0 commit comments

Comments
 (0)