File tree Expand file tree Collapse file tree
src/vs/workbench/contrib/searchEditor/browser Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -248,10 +248,7 @@ export class SearchEditor extends BaseTextEditor {
248248 }
249249
250250 focusSearchInput ( ) {
251- const viewState = this . loadViewState ( ) ;
252- if ( viewState && viewState . focused === 'editor' ) {
253- this . queryEditorWidget . searchInput . focus ( ) ;
254- }
251+ this . queryEditorWidget . searchInput . focus ( ) ;
255252 }
256253
257254 focusNextInput ( ) {
Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ export class RerunSearchEditorSearchAction extends Action {
161161
162162export class FocusQueryEditorWidgetAction extends Action {
163163 static readonly ID : string = Constants . FocusQueryEditorWidgetCommandId ;
164- static readonly LABEL = localize ( 'search.action.focusQueryEditorWidget' , "Focus Query Editor Widget " ) ;
164+ static readonly LABEL = localize ( 'search.action.focusQueryEditorWidget' , "Focus Search Editor Input " ) ;
165165
166166 constructor ( id : string , label : string ,
167167 @IEditorService private readonly editorService : IEditorService ,
You can’t perform that action at this time.
0 commit comments