@@ -26,7 +26,7 @@ import { Extensions as EditorInputExtensions, IEditorInputFactory, IEditorInputF
26
26
import * as SearchConstants from 'vs/workbench/contrib/search/common/constants' ;
27
27
import * as SearchEditorConstants from 'vs/workbench/contrib/searchEditor/browser/constants' ;
28
28
import { SearchEditor } from 'vs/workbench/contrib/searchEditor/browser/searchEditor' ;
29
- import { modifySearchEditorContextLinesCommand , OpenResultsInEditorAction , OpenSearchEditorAction , OpenSearchEditorToSideAction , RerunSearchEditorSearchAction , selectAllSearchEditorMatchesCommand , toggleSearchEditorCaseSensitiveCommand , toggleSearchEditorContextLinesCommand , toggleSearchEditorRegexCommand , toggleSearchEditorWholeWordCommand } from 'vs/workbench/contrib/searchEditor/browser/searchEditorActions' ;
29
+ import { modifySearchEditorContextLinesCommand , OpenResultsInEditorAction , OpenSearchEditorAction , OpenSearchEditorToSideAction , RerunSearchEditorSearchAction , selectAllSearchEditorMatchesCommand , toggleSearchEditorCaseSensitiveCommand , toggleSearchEditorContextLinesCommand , toggleSearchEditorRegexCommand , toggleSearchEditorWholeWordCommand , FocusQueryEditorWidgetAction } from 'vs/workbench/contrib/searchEditor/browser/searchEditorActions' ;
30
30
import { getOrMakeSearchEditorInput , SearchEditorInput , SearchConfiguration } from 'vs/workbench/contrib/searchEditor/browser/searchEditorInput' ;
31
31
import { IEditorService } from 'vs/workbench/services/editor/common/editorService' ;
32
32
import { parseSavedSearchEditor } from 'vs/workbench/contrib/searchEditor/browser/searchEditorSerialization' ;
@@ -209,6 +209,10 @@ registry.registerWorkbenchAction(
209
209
registry . registerWorkbenchAction ( SyncActionDescriptor . create ( RerunSearchEditorSearchAction , RerunSearchEditorSearchAction . ID , RerunSearchEditorSearchAction . LABEL ,
210
210
{ mac : { primary : KeyMod . CtrlCmd | KeyMod . Shift | KeyCode . KEY_R } } , ContextKeyExpr . and ( SearchEditorConstants . InSearchEditor ) ) ,
211
211
'Search Editor: Search Again' , category ) ;
212
+
213
+ registry . registerWorkbenchAction ( SyncActionDescriptor . create ( FocusQueryEditorWidgetAction , FocusQueryEditorWidgetAction . ID , FocusQueryEditorWidgetAction . LABEL ,
214
+ { primary : KeyCode . Escape } , ContextKeyExpr . and ( SearchEditorConstants . InSearchEditor ) ) ,
215
+ 'Search Editor: Focus Query Editor Widget' , category ) ;
212
216
//#endregion
213
217
214
218
0 commit comments