提交 ea45ce61 编写于 作者: J Jackson Kearl

Remove duplicated when conditions. Ref #94439

上级 5e2ae873
......@@ -208,11 +208,11 @@ registry.registerWorkbenchAction(
'Search Editor: Open New Search Editor to Side', category);
registry.registerWorkbenchAction(SyncActionDescriptor.from(RerunSearchEditorSearchAction,
{ mac: { primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KEY_R } }, ContextKeyExpr.and(SearchEditorConstants.InSearchEditor)),
{ mac: { primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KEY_R } }),
'Search Editor: Search Again', category, SearchEditorConstants.InSearchEditor);
registry.registerWorkbenchAction(SyncActionDescriptor.from(FocusQueryEditorWidgetAction,
{ primary: KeyCode.Escape }, ContextKeyExpr.and(SearchEditorConstants.InSearchEditor)),
{ primary: KeyCode.Escape }),
'Search Editor: Focus Query Editor Widget', category, SearchEditorConstants.InSearchEditor);
//#endregion
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册