@@ -54,6 +54,7 @@ import { Schemas } from 'vs/base/common/network';
5454import { PanelRegistry , Extensions as PanelExtensions , PanelDescriptor } from 'vs/workbench/browser/panel' ;
5555import { IPanelService } from 'vs/workbench/services/panel/common/panelService' ;
5656import { openSearchView , getSearchView , ReplaceAllInFolderAction , ReplaceAllAction , CloseReplaceAction , FocusNextInputAction , FocusPreviousInputAction , FocusNextSearchResultAction , FocusPreviousSearchResultAction , ReplaceInFilesAction , FindInFilesAction , FocusActiveEditorCommand , toggleCaseSensitiveCommand , ShowNextSearchTermAction , ShowPreviousSearchTermAction , toggleRegexCommand , ShowNextSearchExcludeAction , ShowPreviousSearchIncludeAction , ShowNextSearchIncludeAction , ShowPreviousSearchExcludeAction , CollapseDeepestExpandedLevelAction , toggleWholeWordCommand , RemoveAction , ReplaceAction } from 'vs/workbench/parts/search/browser/searchActions' ;
57+ import { VIEW_ID } from 'vs/platform/search/common/search' ;
5758
5859registerSingleton ( ISearchWorkbenchService , SearchWorkbenchService ) ;
5960replaceContributions ( ) ;
@@ -282,7 +283,7 @@ class ShowAllSymbolsAction extends Action {
282283// Register Viewlet
283284Registry . as < ViewletRegistry > ( ViewletExtensions . Viewlets ) . registerViewlet ( new ViewletDescriptor (
284285 SearchView ,
285- Constants . VIEW_ID ,
286+ VIEW_ID ,
286287 nls . localize ( 'name' , "Search" ) ,
287288 'search' ,
288289 10
@@ -291,7 +292,7 @@ Registry.as<ViewletRegistry>(ViewletExtensions.Viewlets).registerViewlet(new Vie
291292// Register Viewlet
292293Registry . as < PanelRegistry > ( PanelExtensions . Panels ) . registerPanel ( new PanelDescriptor (
293294 SearchView ,
294- Constants . VIEW_ID ,
295+ VIEW_ID ,
295296 nls . localize ( 'name' , "Search" ) ,
296297 'search' ,
297298 10
@@ -301,7 +302,7 @@ Registry.as<PanelRegistry>(PanelExtensions.Panels).registerPanel(new PanelDescri
301302const registry = Registry . as < IWorkbenchActionRegistry > ( ActionExtensions . WorkbenchActions ) ;
302303const category = nls . localize ( 'search' , "Search" ) ;
303304
304- registry . registerWorkbenchAction ( new SyncActionDescriptor ( FindInFilesAction , Constants . VIEW_ID , nls . localize ( 'showSearchViewlet' , "Show Search" ) , { primary : KeyMod . CtrlCmd | KeyMod . Shift | KeyCode . KEY_F } ,
305+ registry . registerWorkbenchAction ( new SyncActionDescriptor ( FindInFilesAction , VIEW_ID , nls . localize ( 'showSearchViewlet' , "Show Search" ) , { primary : KeyMod . CtrlCmd | KeyMod . Shift | KeyCode . KEY_F } ,
305306 Constants . SearchViewletVisibleKey . toNegated ( ) ) , 'View: Show Search' , nls . localize ( 'view' , "View" ) ) ;
306307registry . registerWorkbenchAction ( new SyncActionDescriptor ( FindInFilesAction , Constants . FindInFilesActionId , nls . localize ( 'findInFiles' , "Find in Files" ) , { primary : KeyMod . CtrlCmd | KeyMod . Shift | KeyCode . KEY_F } ,
307308 Constants . SearchInputBoxFocusedKey . toNegated ( ) ) , 'Find in Files' , category ) ;
0 commit comments