@codingame/monaco-vscode-search-service-override 8.0.4 → 9.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/package.json +2 -2
  2. package/vscode/src/vs/workbench/contrib/search/browser/patternInputWidget.js +3 -3
  3. package/vscode/src/vs/workbench/contrib/search/browser/quickTextSearch/textSearchQuickAccess.js +7 -7
  4. package/vscode/src/vs/workbench/contrib/search/browser/replaceService.js +2 -2
  5. package/vscode/src/vs/workbench/contrib/search/browser/search.contribution.js +80 -72
  6. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsCopy.js +3 -3
  7. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsNav.js +17 -17
  8. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsRemoveReplace.js +4 -4
  9. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsSymbol.js +3 -3
  10. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsTextQuickAccess.js +1 -1
  11. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsTopBar.js +8 -8
  12. package/vscode/src/vs/workbench/contrib/search/browser/searchFindInput.js +2 -2
  13. package/vscode/src/vs/workbench/contrib/search/browser/searchIcons.js +20 -20
  14. package/vscode/src/vs/workbench/contrib/search/browser/searchMessage.js +2 -2
  15. package/vscode/src/vs/workbench/contrib/search/browser/searchResultsView.js +14 -14
  16. package/vscode/src/vs/workbench/contrib/search/browser/searchView.js +58 -57
  17. package/vscode/src/vs/workbench/contrib/search/browser/searchWidget.js +8 -8
  18. package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditor.contribution.js +20 -20
  19. package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditor.js +23 -13
  20. package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorActions.js +1 -1
  21. package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorInput.js +4 -4
  22. package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorSerialization.js +5 -5
  23. package/vscode/src/vs/workbench/services/search/browser/searchService.js +17 -16
  24. package/vscode/src/vs/workbench/services/search/common/getFileResults.js +9 -6
  25. package/vscode/src/vs/workbench/services/search/common/localFileSearchWorkerTypes.js +11 -0
  26. package/vscode/src/vs/workbench/services/search/common/searchService.js +3 -0
  27. package/vscode/src/vs/workbench/services/search/worker/localFileSearch.js +20 -17
@@ -22,7 +22,7 @@ registerAction2(class ToggleQueryDetailsAction extends Action2 {
22
22
  constructor() {
23
23
  super({
24
24
  id: SearchCommandIds.ToggleQueryDetailsActionId,
25
- title: ( localize2(8390, "Toggle Query Details")),
25
+ title: ( localize2(8437, "Toggle Query Details")),
26
26
  category,
27
27
  keybinding: {
28
28
  weight: KeybindingWeight.WorkbenchContrib,
@@ -46,7 +46,7 @@ registerAction2(class CloseReplaceAction extends Action2 {
46
46
  constructor() {
47
47
  super({
48
48
  id: SearchCommandIds.CloseReplaceWidgetActionId,
49
- title: ( localize2(8391, "Close Replace Widget")),
49
+ title: ( localize2(8438, "Close Replace Widget")),
50
50
  category,
51
51
  keybinding: {
52
52
  weight: KeybindingWeight.WorkbenchContrib,
@@ -71,7 +71,7 @@ registerAction2(class ToggleCaseSensitiveCommandAction extends Action2 {
71
71
  constructor() {
72
72
  super({
73
73
  id: SearchCommandIds.ToggleCaseSensitiveCommandId,
74
- title: ( localize2(8392, "Toggle Case Sensitive")),
74
+ title: ( localize2(8439, "Toggle Case Sensitive")),
75
75
  category,
76
76
  keybinding: Object.assign({
77
77
  weight: KeybindingWeight.WorkbenchContrib,
@@ -90,7 +90,7 @@ registerAction2(class ToggleWholeWordCommandAction extends Action2 {
90
90
  constructor() {
91
91
  super({
92
92
  id: SearchCommandIds.ToggleWholeWordCommandId,
93
- title: ( localize2(8393, "Toggle Whole Word")),
93
+ title: ( localize2(8440, "Toggle Whole Word")),
94
94
  keybinding: Object.assign({
95
95
  weight: KeybindingWeight.WorkbenchContrib,
96
96
  when: SearchContext.SearchViewFocusedKey,
@@ -106,7 +106,7 @@ registerAction2(class ToggleRegexCommandAction extends Action2 {
106
106
  constructor() {
107
107
  super({
108
108
  id: SearchCommandIds.ToggleRegexCommandId,
109
- title: ( localize2(8394, "Toggle Regex")),
109
+ title: ( localize2(8441, "Toggle Regex")),
110
110
  keybinding: Object.assign({
111
111
  weight: KeybindingWeight.WorkbenchContrib,
112
112
  when: SearchContext.SearchViewFocusedKey,
@@ -122,7 +122,7 @@ registerAction2(class TogglePreserveCaseAction extends Action2 {
122
122
  constructor() {
123
123
  super({
124
124
  id: SearchCommandIds.TogglePreserveCaseId,
125
- title: ( localize2(8395, "Toggle Preserve Case")),
125
+ title: ( localize2(8442, "Toggle Preserve Case")),
126
126
  keybinding: Object.assign({
127
127
  weight: KeybindingWeight.WorkbenchContrib,
128
128
  when: SearchContext.SearchViewFocusedKey,
@@ -138,7 +138,7 @@ registerAction2(class OpenMatchAction extends Action2 {
138
138
  constructor() {
139
139
  super({
140
140
  id: SearchCommandIds.OpenMatch,
141
- title: ( localize2(8396, "Open Match")),
141
+ title: ( localize2(8443, "Open Match")),
142
142
  category,
143
143
  keybinding: {
144
144
  weight: KeybindingWeight.WorkbenchContrib,
@@ -170,7 +170,7 @@ registerAction2(class OpenMatchToSideAction extends Action2 {
170
170
  constructor() {
171
171
  super({
172
172
  id: SearchCommandIds.OpenMatchToSide,
173
- title: ( localize2(8397, "Open Match To Side")),
173
+ title: ( localize2(8444, "Open Match To Side")),
174
174
  category,
175
175
  keybinding: {
176
176
  weight: KeybindingWeight.WorkbenchContrib,
@@ -194,7 +194,7 @@ registerAction2(class AddCursorsAtSearchResultsAction extends Action2 {
194
194
  constructor() {
195
195
  super({
196
196
  id: SearchCommandIds.AddCursorsAtSearchResults,
197
- title: ( localize2(8398, "Add Cursors at Search Results")),
197
+ title: ( localize2(8445, "Add Cursors at Search Results")),
198
198
  keybinding: {
199
199
  weight: KeybindingWeight.WorkbenchContrib,
200
200
  when: ( (ContextKeyExpr.and(SearchContext.SearchViewVisibleKey, SearchContext.FileMatchOrMatchFocusKey))),
@@ -215,7 +215,7 @@ registerAction2(class FocusNextInputAction extends Action2 {
215
215
  constructor() {
216
216
  super({
217
217
  id: SearchCommandIds.FocusNextInputActionId,
218
- title: ( localize2(8399, "Focus Next Input")),
218
+ title: ( localize2(8446, "Focus Next Input")),
219
219
  category,
220
220
  keybinding: {
221
221
  weight: KeybindingWeight.WorkbenchContrib,
@@ -241,7 +241,7 @@ registerAction2(class FocusPreviousInputAction extends Action2 {
241
241
  constructor() {
242
242
  super({
243
243
  id: SearchCommandIds.FocusPreviousInputActionId,
244
- title: ( localize2(8400, "Focus Previous Input")),
244
+ title: ( localize2(8447, "Focus Previous Input")),
245
245
  category,
246
246
  keybinding: {
247
247
  weight: KeybindingWeight.WorkbenchContrib,
@@ -271,7 +271,7 @@ registerAction2(class FocusSearchFromResultsAction extends Action2 {
271
271
  constructor() {
272
272
  super({
273
273
  id: SearchCommandIds.FocusSearchFromResults,
274
- title: ( localize2(8401, "Focus Search From Results")),
274
+ title: ( localize2(8448, "Focus Search From Results")),
275
275
  category,
276
276
  keybinding: {
277
277
  weight: KeybindingWeight.WorkbenchContrib,
@@ -293,7 +293,7 @@ registerAction2(class ToggleSearchOnTypeAction extends Action2 {
293
293
  constructor() {
294
294
  super({
295
295
  id: SearchCommandIds.ToggleSearchOnTypeActionId,
296
- title: ( localize2(8402, "Toggle Search on Type")),
296
+ title: ( localize2(8449, "Toggle Search on Type")),
297
297
  category,
298
298
  });
299
299
  }
@@ -307,7 +307,7 @@ registerAction2(class FocusSearchListCommandAction extends Action2 {
307
307
  constructor() {
308
308
  super({
309
309
  id: SearchCommandIds.FocusSearchListCommandID,
310
- title: ( localize2(8403, "Focus List")),
310
+ title: ( localize2(8450, "Focus List")),
311
311
  category,
312
312
  f1: true
313
313
  });
@@ -320,7 +320,7 @@ registerAction2(class FocusNextSearchResultAction extends Action2 {
320
320
  constructor() {
321
321
  super({
322
322
  id: SearchCommandIds.FocusNextSearchResultActionId,
323
- title: ( localize2(8404, "Focus Next Search Result")),
323
+ title: ( localize2(8451, "Focus Next Search Result")),
324
324
  keybinding: [{
325
325
  primary: KeyCode.F4,
326
326
  weight: KeybindingWeight.WorkbenchContrib,
@@ -338,7 +338,7 @@ registerAction2(class FocusPreviousSearchResultAction extends Action2 {
338
338
  constructor() {
339
339
  super({
340
340
  id: SearchCommandIds.FocusPreviousSearchResultActionId,
341
- title: ( localize2(8405, "Focus Previous Search Result")),
341
+ title: ( localize2(8452, "Focus Previous Search Result")),
342
342
  keybinding: [{
343
343
  primary: KeyMod.Shift | KeyCode.F4,
344
344
  weight: KeybindingWeight.WorkbenchContrib,
@@ -356,7 +356,7 @@ registerAction2(class ReplaceInFilesAction extends Action2 {
356
356
  constructor() {
357
357
  super({
358
358
  id: SearchCommandIds.ReplaceInFilesActionId,
359
- title: ( localize2(8406, "Replace in Files")),
359
+ title: ( localize2(8453, "Replace in Files")),
360
360
  keybinding: [{
361
361
  primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyH,
362
362
  weight: KeybindingWeight.WorkbenchContrib,
@@ -19,7 +19,7 @@ registerAction2(class RemoveAction extends Action2 {
19
19
  constructor() {
20
20
  super({
21
21
  id: SearchCommandIds.RemoveActionId,
22
- title: ( localize2(8407, "Dismiss")),
22
+ title: ( localize2(8454, "Dismiss")),
23
23
  category,
24
24
  icon: searchRemoveIcon,
25
25
  keybinding: {
@@ -97,7 +97,7 @@ registerAction2(class ReplaceAction extends Action2 {
97
97
  constructor() {
98
98
  super({
99
99
  id: SearchCommandIds.ReplaceActionId,
100
- title: ( localize2(8408, "Replace")),
100
+ title: ( localize2(8455, "Replace")),
101
101
  category,
102
102
  keybinding: {
103
103
  weight: KeybindingWeight.WorkbenchContrib,
@@ -142,7 +142,7 @@ registerAction2(class ReplaceAllAction extends Action2 {
142
142
  constructor() {
143
143
  super({
144
144
  id: SearchCommandIds.ReplaceAllInFileActionId,
145
- title: ( localize2(8409, "Replace All")),
145
+ title: ( localize2(8456, "Replace All")),
146
146
  category,
147
147
  keybinding: {
148
148
  weight: KeybindingWeight.WorkbenchContrib,
@@ -188,7 +188,7 @@ registerAction2(class ReplaceAllInFolderAction extends Action2 {
188
188
  constructor() {
189
189
  super({
190
190
  id: SearchCommandIds.ReplaceAllInFolderActionId,
191
- title: ( localize2(8409, "Replace All")),
191
+ title: ( localize2(8456, "Replace All")),
192
192
  category,
193
193
  keybinding: {
194
194
  weight: KeybindingWeight.WorkbenchContrib,
@@ -7,14 +7,14 @@ import { IQuickInputService } from 'vscode/vscode/vs/platform/quickinput/common/
7
7
 
8
8
  registerAction2(class ShowAllSymbolsAction extends Action2 {
9
9
  static { this.ID = 'workbench.action.showAllSymbols'; }
10
- static { this.LABEL = ( localize(8410, "Go to Symbol in Workspace...")); }
10
+ static { this.LABEL = ( localize(8457, "Go to Symbol in Workspace...")); }
11
11
  static { this.ALL_SYMBOLS_PREFIX = '#'; }
12
12
  constructor() {
13
13
  super({
14
14
  id: SearchCommandIds.ShowAllSymbolsActionId,
15
15
  title: {
16
- ...( localize2(8410, "Go to Symbol in Workspace...")),
17
- mnemonicTitle: ( localize(8411, "Go to Symbol in &&Workspace...")),
16
+ ...( localize2(8457, "Go to Symbol in Workspace...")),
17
+ mnemonicTitle: ( localize(8458, "Go to Symbol in &&Workspace...")),
18
18
  },
19
19
  f1: true,
20
20
  keybinding: {
@@ -12,7 +12,7 @@ registerAction2(class TextSearchQuickAccessAction extends Action2 {
12
12
  constructor() {
13
13
  super({
14
14
  id: SearchCommandIds.QuickTextSearchActionId,
15
- title: ( localize2(8420, "Quick Search")),
15
+ title: ( localize2(8467, "Quick Search")),
16
16
  category,
17
17
  f1: true
18
18
  });
@@ -17,7 +17,7 @@ registerAction2(class ClearSearchHistoryCommandAction extends Action2 {
17
17
  constructor() {
18
18
  super({
19
19
  id: SearchCommandIds.ClearSearchHistoryCommandId,
20
- title: ( localize2(8412, "Clear Search History")),
20
+ title: ( localize2(8459, "Clear Search History")),
21
21
  category,
22
22
  f1: true
23
23
  });
@@ -30,7 +30,7 @@ registerAction2(class CancelSearchAction extends Action2 {
30
30
  constructor() {
31
31
  super({
32
32
  id: SearchCommandIds.CancelSearchActionId,
33
- title: ( localize2(8413, "Cancel Search")),
33
+ title: ( localize2(8460, "Cancel Search")),
34
34
  icon: searchStopIcon,
35
35
  category,
36
36
  f1: true,
@@ -59,7 +59,7 @@ registerAction2(class RefreshAction extends Action2 {
59
59
  constructor() {
60
60
  super({
61
61
  id: SearchCommandIds.RefreshSearchResultsActionId,
62
- title: ( localize2(8414, "Refresh")),
62
+ title: ( localize2(8461, "Refresh")),
63
63
  icon: searchRefreshIcon,
64
64
  precondition: SearchContext.ViewHasSearchPatternKey,
65
65
  category,
@@ -83,7 +83,7 @@ registerAction2(class CollapseDeepestExpandedLevelAction extends Action2 {
83
83
  constructor() {
84
84
  super({
85
85
  id: SearchCommandIds.CollapseSearchResultsActionId,
86
- title: ( localize2(8415, "Collapse All")),
86
+ title: ( localize2(8462, "Collapse All")),
87
87
  category,
88
88
  icon: searchCollapseAllIcon,
89
89
  f1: true,
@@ -110,7 +110,7 @@ registerAction2(class ExpandAllAction extends Action2 {
110
110
  constructor() {
111
111
  super({
112
112
  id: SearchCommandIds.ExpandSearchResultsActionId,
113
- title: ( localize2(8416, "Expand All")),
113
+ title: ( localize2(8463, "Expand All")),
114
114
  category,
115
115
  icon: searchExpandAllIcon,
116
116
  f1: true,
@@ -138,7 +138,7 @@ registerAction2(class ClearSearchResultsAction extends Action2 {
138
138
  constructor() {
139
139
  super({
140
140
  id: SearchCommandIds.ClearSearchResultsActionId,
141
- title: ( localize2(8417, "Clear Search Results")),
141
+ title: ( localize2(8464, "Clear Search Results")),
142
142
  category,
143
143
  icon: searchClearIcon,
144
144
  f1: true,
@@ -164,7 +164,7 @@ registerAction2(class ViewAsTreeAction extends Action2 {
164
164
  constructor() {
165
165
  super({
166
166
  id: SearchCommandIds.ViewAsTreeActionId,
167
- title: ( localize2(8418, "View as Tree")),
167
+ title: ( localize2(8465, "View as Tree")),
168
168
  category,
169
169
  icon: searchShowAsList,
170
170
  f1: true,
@@ -194,7 +194,7 @@ registerAction2(class ViewAsListAction extends Action2 {
194
194
  constructor() {
195
195
  super({
196
196
  id: SearchCommandIds.ViewAsListActionId,
197
- title: ( localize2(8419, "View as List")),
197
+ title: ( localize2(8466, "View as List")),
198
198
  category,
199
199
  icon: searchShowAsTree,
200
200
  f1: true,
@@ -6,7 +6,7 @@ import { getDefaultHoverDelegate } from 'vscode/vscode/vs/base/browser/ui/hover/
6
6
  import { Toggle } from 'vscode/vscode/vs/base/browser/ui/toggle/toggle';
7
7
  import { Emitter } from 'vscode/vscode/vs/base/common/event';
8
8
 
9
- const NLS_AI_TOGGLE_LABEL = ( localize(10767, "Use AI"));
9
+ const NLS_AI_TOGGLE_LABEL = ( localize(10845, "Use AI"));
10
10
  class SearchFindInput extends ContextScopedFindInput {
11
11
  constructor(container, contextViewProvider, options, contextKeyService, contextMenuService, instantiationService, filters, shouldShowAIButton,
12
12
  filterStartVisiblitity) {
@@ -18,7 +18,7 @@ class SearchFindInput extends ContextScopedFindInput {
18
18
  this._onDidChangeAIToggle = this._register(( (new Emitter())));
19
19
  this.onDidChangeAIToggle = this._onDidChangeAIToggle.event;
20
20
  this.shouldNotebookFilterBeVisible = false;
21
- this._findFilter = this._register(( (new NotebookFindInputFilterButton(filters, contextMenuService, instantiationService, options, ( localize(10768, "Notebook Find Filters"))))));
21
+ this._findFilter = this._register(( (new NotebookFindInputFilterButton(filters, contextMenuService, instantiationService, options, ( localize(10846, "Notebook Find Filters"))))));
22
22
  this._aiButton = this._register(( (new AIToggle({
23
23
  appendTitle: '',
24
24
  isChecked: false,
@@ -2,28 +2,28 @@ import { Codicon } from 'vscode/vscode/vs/base/common/codicons';
2
2
  import { localize } from 'vscode/vscode/vs/nls';
3
3
  import { registerIcon } from 'vscode/vscode/vs/platform/theme/common/iconRegistry';
4
4
 
5
- const searchDetailsIcon = registerIcon('search-details', Codicon.ellipsis, ( localize(8291, 'Icon to make search details visible.')));
6
- const searchActivityBarIcon = registerIcon('search-see-more', Codicon.goToSearch, ( localize(8292, 'Icon to view more context in the search view.')));
7
- const searchShowContextIcon = registerIcon('search-show-context', Codicon.listSelection, ( localize(8293, 'Icon for toggle the context in the search editor.')));
8
- const searchHideReplaceIcon = registerIcon('search-hide-replace', Codicon.chevronRight, ( localize(8294, 'Icon to collapse the replace section in the search view.')));
9
- const searchShowReplaceIcon = registerIcon('search-show-replace', Codicon.chevronDown, ( localize(8295, 'Icon to expand the replace section in the search view.')));
10
- const searchReplaceAllIcon = registerIcon('search-replace-all', Codicon.replaceAll, ( localize(8296, 'Icon for replace all in the search view.')));
11
- const searchReplaceIcon = registerIcon('search-replace', Codicon.replace, ( localize(8297, 'Icon for replace in the search view.')));
12
- const searchRemoveIcon = registerIcon('search-remove', Codicon.close, ( localize(8298, 'Icon to remove a search result.')));
13
- const searchRefreshIcon = registerIcon('search-refresh', Codicon.refresh, ( localize(8299, 'Icon for refresh in the search view.')));
14
- const searchCollapseAllIcon = registerIcon('search-collapse-results', Codicon.collapseAll, ( localize(8300, 'Icon for collapse results in the search view.')));
15
- const searchExpandAllIcon = registerIcon('search-expand-results', Codicon.expandAll, ( localize(8301, 'Icon for expand results in the search view.')));
16
- const searchShowAsTree = registerIcon('search-tree', Codicon.listTree, ( localize(8302, 'Icon for viewing results as a tree in the search view.')));
17
- const searchShowAsList = registerIcon('search-list', Codicon.listFlat, ( localize(8303, 'Icon for viewing results as a list in the search view.')));
18
- const searchClearIcon = registerIcon('search-clear-results', Codicon.clearAll, ( localize(8304, 'Icon for clear results in the search view.')));
19
- const searchStopIcon = registerIcon('search-stop', Codicon.searchStop, ( localize(8305, 'Icon for stop in the search view.')));
20
- const searchViewIcon = registerIcon('search-view-icon', Codicon.search, ( localize(8306, 'View icon of the search view.')));
21
- const searchNewEditorIcon = registerIcon('search-new-editor', Codicon.newFile, ( localize(8307, 'Icon for the action to open a new search editor.')));
5
+ const searchDetailsIcon = registerIcon('search-details', Codicon.ellipsis, ( localize(8338, 'Icon to make search details visible.')));
6
+ const searchActivityBarIcon = registerIcon('search-see-more', Codicon.goToSearch, ( localize(8339, 'Icon to view more context in the search view.')));
7
+ const searchShowContextIcon = registerIcon('search-show-context', Codicon.listSelection, ( localize(8340, 'Icon for toggle the context in the search editor.')));
8
+ const searchHideReplaceIcon = registerIcon('search-hide-replace', Codicon.chevronRight, ( localize(8341, 'Icon to collapse the replace section in the search view.')));
9
+ const searchShowReplaceIcon = registerIcon('search-show-replace', Codicon.chevronDown, ( localize(8342, 'Icon to expand the replace section in the search view.')));
10
+ const searchReplaceAllIcon = registerIcon('search-replace-all', Codicon.replaceAll, ( localize(8343, 'Icon for replace all in the search view.')));
11
+ const searchReplaceIcon = registerIcon('search-replace', Codicon.replace, ( localize(8344, 'Icon for replace in the search view.')));
12
+ const searchRemoveIcon = registerIcon('search-remove', Codicon.close, ( localize(8345, 'Icon to remove a search result.')));
13
+ const searchRefreshIcon = registerIcon('search-refresh', Codicon.refresh, ( localize(8346, 'Icon for refresh in the search view.')));
14
+ const searchCollapseAllIcon = registerIcon('search-collapse-results', Codicon.collapseAll, ( localize(8347, 'Icon for collapse results in the search view.')));
15
+ const searchExpandAllIcon = registerIcon('search-expand-results', Codicon.expandAll, ( localize(8348, 'Icon for expand results in the search view.')));
16
+ const searchShowAsTree = registerIcon('search-tree', Codicon.listTree, ( localize(8349, 'Icon for viewing results as a tree in the search view.')));
17
+ const searchShowAsList = registerIcon('search-list', Codicon.listFlat, ( localize(8350, 'Icon for viewing results as a list in the search view.')));
18
+ const searchClearIcon = registerIcon('search-clear-results', Codicon.clearAll, ( localize(8351, 'Icon for clear results in the search view.')));
19
+ const searchStopIcon = registerIcon('search-stop', Codicon.searchStop, ( localize(8352, 'Icon for stop in the search view.')));
20
+ const searchViewIcon = registerIcon('search-view-icon', Codicon.search, ( localize(8353, 'View icon of the search view.')));
21
+ const searchNewEditorIcon = registerIcon('search-new-editor', Codicon.newFile, ( localize(8354, 'Icon for the action to open a new search editor.')));
22
22
  const searchOpenInFileIcon = registerIcon('search-open-in-file', Codicon.goToFile, ( localize(
23
- 8308,
23
+ 8355,
24
24
  'Icon for the action to go to the file of the current search result.'
25
25
  )));
26
- registerIcon('search-sparkle-filled', Codicon.sparkleFilled, ( localize(8309, 'Icon to show AI results in search.')));
27
- registerIcon('search-sparkle-empty', Codicon.sparkle, ( localize(8310, 'Icon to hide AI results in search.')));
26
+ registerIcon('search-sparkle-filled', Codicon.sparkleFilled, ( localize(8356, 'Icon to show AI results in search.')));
27
+ registerIcon('search-sparkle-empty', Codicon.sparkle, ( localize(8357, 'Icon to hide AI results in search.')));
28
28
 
29
29
  export { searchActivityBarIcon, searchClearIcon, searchCollapseAllIcon, searchDetailsIcon, searchExpandAllIcon, searchHideReplaceIcon, searchNewEditorIcon, searchOpenInFileIcon, searchRefreshIcon, searchRemoveIcon, searchReplaceAllIcon, searchReplaceIcon, searchShowAsList, searchShowAsTree, searchShowContextIcon, searchShowReplaceIcon, searchStopIcon, searchViewIcon };
@@ -39,10 +39,10 @@ const renderSearchMessage = (message, instantiationService, notificationService,
39
39
  }
40
40
  else {
41
41
  if (parsed.scheme === Schemas.command && !message.trusted) {
42
- notificationService.error(( localize(10785, "Unable to open command link from untrusted source: {0}", href)));
42
+ notificationService.error(( localize(10830, "Unable to open command link from untrusted source: {0}", href)));
43
43
  }
44
44
  else {
45
- notificationService.error(( localize(10786, "Unable to open unknown link: {0}", href)));
45
+ notificationService.error(( localize(10831, "Unable to open unknown link: {0}", href)));
46
46
  }
47
47
  }
48
48
  }
@@ -65,7 +65,7 @@ let FolderMatchRenderer = class FolderMatchRenderer extends Disposable {
65
65
  });
66
66
  }
67
67
  else {
68
- templateData.label.setLabel(( localize(10772, "Other files")));
68
+ templateData.label.setLabel(( localize(10832, "Other files")));
69
69
  }
70
70
  this.renderFolderDetails(folder, templateData);
71
71
  }
@@ -113,7 +113,7 @@ let FolderMatchRenderer = class FolderMatchRenderer extends Disposable {
113
113
  }
114
114
  }
115
115
  else {
116
- templateData.label.setLabel(( localize(10772, "Other files")));
116
+ templateData.label.setLabel(( localize(10832, "Other files")));
117
117
  }
118
118
  SearchContext.IsEditableItemKey.bindTo(templateData.contextKeyService).set(!folderMatch.hasOnlyReadOnlyMatches());
119
119
  templateData.elementDisposables.add(folderMatch.onChange(() => {
@@ -133,7 +133,7 @@ let FolderMatchRenderer = class FolderMatchRenderer extends Disposable {
133
133
  renderFolderDetails(folder, templateData) {
134
134
  const count = folder.recursiveMatchCount();
135
135
  templateData.badge.setCount(count);
136
- templateData.badge.setTitleFormat(count > 1 ? ( localize(10773, "{0} files found", count)) : ( localize(10774, "{0} file found", count)));
136
+ templateData.badge.setTitleFormat(count > 1 ? ( localize(10833, "{0} files found", count)) : ( localize(10834, "{0} file found", count)));
137
137
  templateData.actions.context = { viewer: this.searchView.getControl(), element: folder };
138
138
  }
139
139
  };
@@ -172,7 +172,7 @@ let FileMatchRenderer = class FileMatchRenderer extends Disposable {
172
172
  SearchContext.MatchFocusKey.bindTo(contextKeyServiceMain).set(false);
173
173
  SearchContext.FileFocusKey.bindTo(contextKeyServiceMain).set(true);
174
174
  SearchContext.FolderFocusKey.bindTo(contextKeyServiceMain).set(false);
175
- const instantiationService = this.instantiationService.createChild(( (new ServiceCollection([IContextKeyService, contextKeyServiceMain]))));
175
+ const instantiationService = this._register(this.instantiationService.createChild(( (new ServiceCollection([IContextKeyService, contextKeyServiceMain])))));
176
176
  const actions = disposables.add(instantiationService.createInstance(MenuWorkbenchToolBar, actionBarContainer, MenuId.SearchActionMenu, {
177
177
  menuOptions: {
178
178
  shouldForwardArgs: true
@@ -199,7 +199,7 @@ let FileMatchRenderer = class FileMatchRenderer extends Disposable {
199
199
  templateData.label.setFile(fileMatch.resource, { hidePath: this.searchView.isTreeLayoutViewVisible && !(fileMatch.parent() instanceof FolderMatchNoRoot), hideIcon: false, fileDecorations: { colors: decorationConfig.colors, badges: decorationConfig.badges } });
200
200
  const count = fileMatch.count();
201
201
  templateData.badge.setCount(count);
202
- templateData.badge.setTitleFormat(count > 1 ? ( localize(10775, "{0} matches found", count)) : ( localize(10776, "{0} match found", count)));
202
+ templateData.badge.setTitleFormat(count > 1 ? ( localize(10835, "{0} matches found", count)) : ( localize(10836, "{0} match found", count)));
203
203
  templateData.actions.context = { viewer: this.searchView.getControl(), element: fileMatch };
204
204
  SearchContext.IsEditableItemKey.bindTo(templateData.contextKeyService).set(!fileMatch.hasOnlyReadOnlyMatches());
205
205
  templateData.elementDisposables.add(fileMatch.onChange(() => {
@@ -251,7 +251,7 @@ let MatchRenderer = class MatchRenderer extends Disposable {
251
251
  SearchContext.MatchFocusKey.bindTo(contextKeyServiceMain).set(true);
252
252
  SearchContext.FileFocusKey.bindTo(contextKeyServiceMain).set(false);
253
253
  SearchContext.FolderFocusKey.bindTo(contextKeyServiceMain).set(false);
254
- const instantiationService = this.instantiationService.createChild(( (new ServiceCollection([IContextKeyService, contextKeyServiceMain]))));
254
+ const instantiationService = this._register(this.instantiationService.createChild(( (new ServiceCollection([IContextKeyService, contextKeyServiceMain])))));
255
255
  const actions = disposables.add(instantiationService.createInstance(MenuWorkbenchToolBar, actionBarContainer, MenuId.SearchActionMenu, {
256
256
  menuOptions: {
257
257
  shouldForwardArgs: true
@@ -303,10 +303,10 @@ let MatchRenderer = class MatchRenderer extends Disposable {
303
303
  const startLine = match.range().startLineNumber;
304
304
  const numLines = match.range().endLineNumber - match.range().startLineNumber;
305
305
  const lineNumStr = showLineNumbers ?
306
- ( localize(10777, "From line {0}", startLine, numLines)) + ' ' :
306
+ ( localize(10837, "From line {0}", startLine, numLines)) + ' ' :
307
307
  '';
308
308
  const numLinesStr = numLines > 0 ?
309
- '+ ' + ( localize(10778, "{0} more lines", numLines)) :
309
+ '+ ' + ( localize(10838, "{0} more lines", numLines)) :
310
310
  '';
311
311
  return lineNumStr + numLinesStr;
312
312
  }
@@ -324,24 +324,24 @@ let SearchAccessibilityProvider = class SearchAccessibilityProvider {
324
324
  this.labelService = labelService;
325
325
  }
326
326
  getWidgetAriaLabel() {
327
- return ( localize(10779, "Search"));
327
+ return ( localize(10839, "Search"));
328
328
  }
329
329
  getAriaLabel(element) {
330
330
  if (element instanceof FolderMatch) {
331
331
  const count = element.allDownstreamFileMatches().reduce((total, current) => total + current.count(), 0);
332
332
  return element.resource ?
333
333
  ( localize(
334
- 10780,
334
+ 10840,
335
335
  "{0} matches in folder root {1}, Search result",
336
336
  count,
337
337
  element.name()
338
338
  )) :
339
- ( localize(10781, "{0} matches outside of the workspace, Search result", count));
339
+ ( localize(10841, "{0} matches outside of the workspace, Search result", count));
340
340
  }
341
341
  if (element instanceof FileMatch) {
342
342
  const path = this.labelService.getUriLabel(element.resource, { relative: true }) || element.resource.fsPath;
343
343
  return ( localize(
344
- 10782,
344
+ 10842,
345
345
  "{0} matches in file {1} of folder {2}, Search result",
346
346
  element.count(),
347
347
  element.name(),
@@ -357,7 +357,7 @@ let SearchAccessibilityProvider = class SearchAccessibilityProvider {
357
357
  const matchText = match.text().substr(0, range.endColumn + 150);
358
358
  if (replace) {
359
359
  return ( localize(
360
- 10783,
360
+ 10843,
361
361
  "'{0}' at column {1} replace {2} with {3}",
362
362
  matchText,
363
363
  range.startColumn,
@@ -366,7 +366,7 @@ let SearchAccessibilityProvider = class SearchAccessibilityProvider {
366
366
  ));
367
367
  }
368
368
  return ( localize(
369
- 10784,
369
+ 10844,
370
370
  "'{0}' at column {1} found {2}",
371
371
  matchText,
372
372
  range.startColumn,