@codingame/monaco-vscode-search-service-override 31.0.1 → 32.0.1

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 (19) hide show
  1. package/package.json +2 -2
  2. package/vscode/src/vs/workbench/contrib/search/browser/quickTextSearch/textSearchQuickAccess.js +7 -7
  3. package/vscode/src/vs/workbench/contrib/search/browser/replaceService.js +2 -2
  4. package/vscode/src/vs/workbench/contrib/search/browser/search.common.contribution.d.ts +1 -0
  5. package/vscode/src/vs/workbench/contrib/search/browser/search.common.contribution.js +8 -0
  6. package/vscode/src/vs/workbench/contrib/search/browser/search.contribution.js +71 -143
  7. package/vscode/src/vs/workbench/contrib/search/browser/searchAccessibilityHelp.js +55 -55
  8. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsCopy.js +4 -4
  9. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.d.ts +1 -0
  10. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.js +415 -0
  11. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsNav.js +17 -17
  12. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsRemoveReplace.js +5 -5
  13. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsSymbol.js +3 -3
  14. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsTextQuickAccess.js +1 -1
  15. package/vscode/src/vs/workbench/contrib/search/browser/searchQuickAccess.contribution.d.ts +1 -0
  16. package/vscode/src/vs/workbench/contrib/search/browser/searchQuickAccess.contribution.js +38 -0
  17. package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditor.contribution.js +70 -20
  18. package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditor.js +9 -9
  19. package/vscode/src/vs/workbench/services/search/browser/searchService.js +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-search-service-override",
3
- "version": "31.0.1",
3
+ "version": "32.0.1",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - search service-override",
6
6
  "keywords": [],
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-api": "31.0.1"
18
+ "@codingame/monaco-vscode-api": "32.0.1"
19
19
  },
20
20
  "main": "index.js",
21
21
  "module": "index.js",
@@ -96,7 +96,7 @@ let TextSearchQuickAccess = class TextSearchQuickAccess extends PickerQuickAcces
96
96
  picker.buttons = [{
97
97
  location: QuickInputButtonLocation.Inline,
98
98
  iconClass: ThemeIcon.asClassName(Codicon.goToSearch),
99
- tooltip: ( localize(12579, "Open in Search View"))
99
+ tooltip: ( localize(12892, "Open in Search View"))
100
100
  }];
101
101
  this.editorViewState.reset();
102
102
  disposables.add(picker.onDidTriggerButton(async () => {
@@ -220,7 +220,7 @@ let TextSearchQuickAccess = class TextSearchQuickAccess extends PickerQuickAcces
220
220
  type: "separator"
221
221
  });
222
222
  picks.push({
223
- label: ( localize(12580, "See More Files")),
223
+ label: ( localize(12893, "See More Files")),
224
224
  iconClass: ThemeIcon.asClassName(searchDetailsIcon),
225
225
  accept: async () => {
226
226
  await this.moveToSearchViewlet(matches[limit]);
@@ -239,7 +239,7 @@ let TextSearchQuickAccess = class TextSearchQuickAccess extends PickerQuickAcces
239
239
  description,
240
240
  buttons: [{
241
241
  iconClass: ThemeIcon.asClassName(searchOpenInFileIcon),
242
- tooltip: ( localize(12581, "Open File"))
242
+ tooltip: ( localize(12894, "Open File"))
243
243
  }],
244
244
  trigger: async () => {
245
245
  await this.handleAccept(iFileInstanceMatch, {});
@@ -251,7 +251,7 @@ let TextSearchQuickAccess = class TextSearchQuickAccess extends PickerQuickAcces
251
251
  const element = results[matchIndex];
252
252
  if (matchIndex === MAX_RESULTS_PER_FILE) {
253
253
  picks.push({
254
- label: ( localize(12582, "More")),
254
+ label: ( localize(12895, "More")),
255
255
  iconClass: ThemeIcon.asClassName(searchDetailsIcon),
256
256
  accept: async () => {
257
257
  await this.moveToSearchViewlet(element);
@@ -272,7 +272,7 @@ let TextSearchQuickAccess = class TextSearchQuickAccess extends PickerQuickAcces
272
272
  },
273
273
  buttons: [{
274
274
  iconClass: ThemeIcon.asClassName(searchActivityBarIcon),
275
- tooltip: ( localize(12583, "Open in Search View"))
275
+ tooltip: ( localize(12896, "Open in Search View"))
276
276
  }],
277
277
  ariaLabel: `Match at location ${element.range().startLineNumber}:${element.range().startColumn} - ${previewText}`,
278
278
  accept: async (keyMods, event) => {
@@ -310,7 +310,7 @@ let TextSearchQuickAccess = class TextSearchQuickAccess extends PickerQuickAcces
310
310
  if (contentPattern === "") {
311
311
  this.searchModel.searchResult.clear();
312
312
  return [{
313
- label: ( localize(12584, "Enter a term to search for across your files."))
313
+ label: ( localize(12897, "Enter a term to search for across your files."))
314
314
  }];
315
315
  }
316
316
  const conditionalTokenCts = disposables.add(( new CancellationTokenSource()));
@@ -334,7 +334,7 @@ let TextSearchQuickAccess = class TextSearchQuickAccess extends PickerQuickAcces
334
334
  return {
335
335
  picks: syncResult,
336
336
  additionalPicks: allMatches.asyncResults.then(asyncResults => (asyncResults.length + syncResult.length === 0) ? [{
337
- label: ( localize(12585, "No matching results"))
337
+ label: ( localize(12898, "No matching results"))
338
338
  }] : this._getPicksFromMatches(asyncResults, MAX_FILES_SHOWN - matches.length)).then(picks => {
339
339
  if (picks.length > 0) {
340
340
  this.searchModel.searchResult.toggleHighlights(true);
@@ -112,7 +112,7 @@ let ReplaceService = class ReplaceService {
112
112
  ReplaceService_1 = this;
113
113
  }
114
114
  static {
115
- this.REPLACE_SAVE_SOURCE = SaveSourceRegistry.registerSource("searchReplace.source", ( localize(12586, "Search and Replace")));
115
+ this.REPLACE_SAVE_SOURCE = SaveSourceRegistry.registerSource("searchReplace.source", ( localize(12899, "Search and Replace")));
116
116
  }
117
117
  constructor(
118
118
  textFileService,
@@ -166,7 +166,7 @@ let ReplaceService = class ReplaceService {
166
166
  modified: {
167
167
  resource: toReplaceResource(fileMatch.resource)
168
168
  },
169
- label: ( localize(12587, "{0} ↔ {1} (Replace Preview)", fileMatch.name(), fileMatch.name())),
169
+ label: ( localize(12900, "{0} ↔ {1} (Replace Preview)", fileMatch.name(), fileMatch.name())),
170
170
  description: this.labelService.getUriLabel(dirname(fileMatch.resource), {
171
171
  relative: true
172
172
  }),
@@ -0,0 +1,8 @@
1
+
2
+ import '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/extensions';
3
+ import { registerContributions } from './replaceContributions.js';
4
+ import '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
5
+ import '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/search/browser/notebookSearch/notebookSearchService';
6
+ import '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/search/common/searchHistoryService';
7
+
8
+ registerContributions();
@@ -1,7 +1,6 @@
1
1
 
2
2
  import { KeyMod, KeyCode } from '@codingame/monaco-vscode-api/vscode/vs/base/common/keyCodes';
3
3
  import { isMacintosh } from '@codingame/monaco-vscode-api/vscode/vs/base/common/platform';
4
- import { AbstractGotoLineQuickAccessProvider } from '@codingame/monaco-vscode-api/vscode/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess';
5
4
  import { localize2, localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
6
5
  import { Extensions as Extensions$2, ConfigurationScope } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configurationRegistry';
7
6
  import { ContextKeyExpr } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey';
@@ -10,19 +9,12 @@ import '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/ext
10
9
  import { Extensions as Extensions$1 } from '@codingame/monaco-vscode-api/vscode/vs/platform/quickinput/common/quickAccess';
11
10
  import { Registry } from '@codingame/monaco-vscode-api/vscode/vs/platform/registry/common/platform';
12
11
  import { ViewPaneContainer } from '@codingame/monaco-vscode-api/vscode/vs/workbench/browser/parts/views/viewPaneContainer';
13
- import { defaultQuickAccessContextKeyValue } from '@codingame/monaco-vscode-api/vscode/vs/workbench/browser/quickaccess';
14
12
  import { Extensions, ViewContainerLocation } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/views';
15
- import { GotoSymbolQuickAccessProvider } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess';
16
- import { AnythingQuickAccessProvider } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/search/browser/anythingQuickAccess';
17
- import { registerContributions } from './replaceContributions.js';
18
- import '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
19
- import '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/search/browser/notebookSearch/notebookSearchService';
20
13
  import { searchViewIcon } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/search/browser/searchIcons';
21
14
  import { SearchView } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/search/browser/searchView';
22
- import { registerContributions as registerContributions$1 } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/search/browser/searchWidget';
23
- import { SymbolsQuickAccessProvider } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/search/browser/symbolsQuickAccess';
24
- import '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/search/common/searchHistoryService';
15
+ import { registerContributions } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/search/browser/searchWidget';
25
16
  import './searchTreeModel/searchModel.js';
17
+ import '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
26
18
  import { VIEWLET_ID, VIEW_ID, SemanticSearchBehavior, ViewMode, SearchSortOrder, DEFAULT_MAX_SEARCH_RESULTS, SEARCH_EXCLUDE_CONFIG } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/search/common/search';
27
19
  import { CommandsRegistry } from '@codingame/monaco-vscode-api/vscode/vs/platform/commands/common/commands';
28
20
  import { assertType } from '@codingame/monaco-vscode-api/vscode/vs/base/common/types';
@@ -30,12 +22,13 @@ import { getWorkspaceSymbols } from '@codingame/monaco-vscode-api/vscode/vs/work
30
22
  import { SearchCommandIds } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/search/common/constants';
31
23
  import { SearchChatContextContribution } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/search/browser/searchChatContext';
32
24
  import './searchActionsCopy.js';
33
- import '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/search/browser/searchActionsFind';
25
+ import './searchActionsFind.js';
34
26
  import './searchActionsNav.js';
35
27
  import './searchActionsRemoveReplace.js';
36
- import './searchActionsSymbol.js';
37
28
  import '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/search/browser/searchActionsTopBar';
38
29
  import './searchActionsTextQuickAccess.js';
30
+ import './searchQuickAccess.contribution.js';
31
+ import './search.common.contribution.js';
39
32
  import { TEXT_SEARCH_QUICK_ACCESS_PREFIX, TextSearchQuickAccess } from './quickTextSearch/textSearchQuickAccess.js';
40
33
  import { Extensions as Extensions$3 } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/configuration';
41
34
  import { registerWorkbenchContribution2, WorkbenchPhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions';
@@ -43,7 +36,6 @@ import { AccessibleViewRegistry } from '@codingame/monaco-vscode-api/vscode/vs/p
43
36
  import { SearchAccessibilityHelp } from './searchAccessibilityHelp.js';
44
37
 
45
38
  registerContributions();
46
- registerContributions$1();
47
39
  registerWorkbenchContribution2(
48
40
  SearchChatContextContribution.ID,
49
41
  SearchChatContextContribution,
@@ -53,7 +45,7 @@ AccessibleViewRegistry.register(( new SearchAccessibilityHelp()));
53
45
  const SEARCH_MODE_CONFIG = "search.mode";
54
46
  const viewContainer = ( Registry.as(Extensions.ViewContainersRegistry)).registerViewContainer({
55
47
  id: VIEWLET_ID,
56
- title: ( localize2(12588, "Search")),
48
+ title: ( localize2(12901, "Search")),
57
49
  ctorDescriptor: ( new SyncDescriptor(ViewPaneContainer, [VIEWLET_ID, {
58
50
  mergeViewWithContainerWhenSingleView: true
59
51
  }])),
@@ -66,13 +58,13 @@ const viewContainer = ( Registry.as(Extensions.ViewContainersRegistry)).register
66
58
  const viewDescriptor = {
67
59
  id: VIEW_ID,
68
60
  containerIcon: searchViewIcon,
69
- name: ( localize2(12588, "Search")),
61
+ name: ( localize2(12901, "Search")),
70
62
  ctorDescriptor: ( new SyncDescriptor(SearchView)),
71
63
  canToggleVisibility: false,
72
64
  canMoveView: true,
73
65
  openCommandActionDescriptor: {
74
66
  id: viewContainer.id,
75
- mnemonicTitle: ( localize(12589, "&&Search")),
67
+ mnemonicTitle: ( localize(12902, "&&Search")),
76
68
  keybindings: {
77
69
  primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyF,
78
70
  when: ( ContextKeyExpr.regex("neverMatch", /doesNotMatch/))
@@ -82,39 +74,13 @@ const viewDescriptor = {
82
74
  };
83
75
  ( Registry.as(Extensions.ViewsRegistry)).registerViews([viewDescriptor], viewContainer);
84
76
  const quickAccessRegistry = ( Registry.as(Extensions$1.Quickaccess));
85
- quickAccessRegistry.registerQuickAccessProvider({
86
- ctor: AnythingQuickAccessProvider,
87
- prefix: AnythingQuickAccessProvider.PREFIX,
88
- placeholder: ( localize(
89
- 12590,
90
- "Search files by name (append {0} to go to line or {1} to go to symbol)",
91
- AbstractGotoLineQuickAccessProvider.GO_TO_LINE_PREFIX,
92
- GotoSymbolQuickAccessProvider.PREFIX
93
- )),
94
- contextKey: defaultQuickAccessContextKeyValue,
95
- helpEntries: [{
96
- description: ( localize(12591, "Go to File")),
97
- commandId: "workbench.action.quickOpen",
98
- commandCenterOrder: 10
99
- }]
100
- });
101
- quickAccessRegistry.registerQuickAccessProvider({
102
- ctor: SymbolsQuickAccessProvider,
103
- prefix: SymbolsQuickAccessProvider.PREFIX,
104
- placeholder: ( localize(12592, "Type the name of a symbol to open.")),
105
- contextKey: "inWorkspaceSymbolsPicker",
106
- helpEntries: [{
107
- description: ( localize(12593, "Go to Symbol in Workspace")),
108
- commandId: SearchCommandIds.ShowAllSymbolsActionId
109
- }]
110
- });
111
77
  quickAccessRegistry.registerQuickAccessProvider({
112
78
  ctor: TextSearchQuickAccess,
113
79
  prefix: TEXT_SEARCH_QUICK_ACCESS_PREFIX,
114
80
  contextKey: "inTextSearchPicker",
115
- placeholder: ( localize(12594, "Search for text in your workspace files.")),
81
+ placeholder: ( localize(12903, "Search for text in your workspace files.")),
116
82
  helpEntries: [{
117
- description: ( localize(12595, "Search for Text")),
83
+ description: ( localize(12904, "Search for Text")),
118
84
  commandId: SearchCommandIds.QuickTextSearchActionId,
119
85
  commandCenterOrder: 25
120
86
  }]
@@ -123,13 +89,13 @@ const configurationRegistry = ( Registry.as(Extensions$2.Configuration));
123
89
  configurationRegistry.registerConfiguration({
124
90
  id: "search",
125
91
  order: 13,
126
- title: ( localize(12596, "Search")),
92
+ title: ( localize(12905, "Search")),
127
93
  type: "object",
128
94
  properties: {
129
95
  [SEARCH_EXCLUDE_CONFIG]: {
130
96
  type: "object",
131
97
  markdownDescription: ( localize(
132
- 12597,
98
+ 12906,
133
99
  "Configure [glob patterns](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options) for excluding files and folders in fulltext searches and file search in quick open. To exclude files from the recently opened list in quick open, patterns must be absolute (for example `**/node_modules/**`). Inherits all glob patterns from the `#files.exclude#` setting."
134
100
  )),
135
101
  default: {
@@ -141,7 +107,7 @@ configurationRegistry.registerConfiguration({
141
107
  anyOf: [{
142
108
  type: "boolean",
143
109
  description: ( localize(
144
- 12598,
110
+ 12907,
145
111
  "The glob pattern to match file paths against. Set to true or false to enable or disable the pattern."
146
112
  ))
147
113
  }, {
@@ -152,7 +118,7 @@ configurationRegistry.registerConfiguration({
152
118
  pattern: "\\w*\\$\\(basename\\)\\w*",
153
119
  default: "$(basename).ext",
154
120
  markdownDescription: ( localize(
155
- 12599,
121
+ 12908,
156
122
  "Additional check on the siblings of a matching file. Use \\$(basename) as variable for the matching file name."
157
123
  ))
158
124
  }
@@ -166,22 +132,22 @@ configurationRegistry.registerConfiguration({
166
132
  enum: ["view", "reuseEditor", "newEditor"],
167
133
  default: "view",
168
134
  markdownDescription: ( localize(
169
- 12600,
135
+ 12909,
170
136
  "Controls where new `Search: Find in Files` and `Find in Folder` operations occur: either in the Search view, or in a search editor."
171
137
  )),
172
- enumDescriptions: [( localize(12601, "Search in the Search view, either in the panel or side bars.")), ( localize(
173
- 12602,
138
+ enumDescriptions: [( localize(12910, "Search in the Search view, either in the panel or side bars.")), ( localize(
139
+ 12911,
174
140
  "Search in an existing search editor if present, otherwise in a new search editor."
175
- )), ( localize(12603, "Search in a new search editor."))]
141
+ )), ( localize(12912, "Search in a new search editor."))]
176
142
  },
177
143
  "search.useRipgrep": {
178
144
  type: "boolean",
179
145
  description: ( localize(
180
- 12604,
146
+ 12913,
181
147
  "This setting is deprecated and now falls back on \"search.usePCRE2\"."
182
148
  )),
183
149
  deprecationMessage: ( localize(
184
- 12605,
150
+ 12914,
185
151
  "Deprecated. Consider \"search.usePCRE2\" for advanced regex feature support."
186
152
  )),
187
153
  default: true
@@ -189,11 +155,11 @@ configurationRegistry.registerConfiguration({
189
155
  "search.maintainFileSearchCache": {
190
156
  type: "boolean",
191
157
  deprecationMessage: ( localize(
192
- 12606,
158
+ 12915,
193
159
  "The search cache is kept in the extension host which never shuts down, so this setting is no longer needed."
194
160
  )),
195
161
  description: ( localize(
196
- 12607,
162
+ 12916,
197
163
  "When enabled, the searchService process will be kept alive instead of being shut down after an hour of inactivity. This will keep the file search cache in memory."
198
164
  )),
199
165
  default: false
@@ -201,7 +167,7 @@ configurationRegistry.registerConfiguration({
201
167
  "search.useIgnoreFiles": {
202
168
  type: "boolean",
203
169
  markdownDescription: ( localize(
204
- 12608,
170
+ 12917,
205
171
  "Controls whether to use `.gitignore` and `.ignore` files when searching for files."
206
172
  )),
207
173
  default: true,
@@ -210,7 +176,7 @@ configurationRegistry.registerConfiguration({
210
176
  "search.useGlobalIgnoreFiles": {
211
177
  type: "boolean",
212
178
  markdownDescription: ( localize(
213
- 12609,
179
+ 12918,
214
180
  "Controls whether to use your global gitignore file (for example, from `$HOME/.config/git/ignore`) when searching for files. Requires {0} to be enabled.",
215
181
  "`#search.useIgnoreFiles#`"
216
182
  )),
@@ -220,7 +186,7 @@ configurationRegistry.registerConfiguration({
220
186
  "search.useParentIgnoreFiles": {
221
187
  type: "boolean",
222
188
  markdownDescription: ( localize(
223
- 12610,
189
+ 12919,
224
190
  "Controls whether to use `.gitignore` and `.ignore` files in parent directories when searching for files. Requires {0} to be enabled.",
225
191
  "`#search.useIgnoreFiles#`"
226
192
  )),
@@ -230,7 +196,7 @@ configurationRegistry.registerConfiguration({
230
196
  "search.quickOpen.includeSymbols": {
231
197
  type: "boolean",
232
198
  description: ( localize(
233
- 12611,
199
+ 12920,
234
200
  "Whether to include results from a global symbol search in the file results for Quick Open."
235
201
  )),
236
202
  default: false
@@ -238,7 +204,7 @@ configurationRegistry.registerConfiguration({
238
204
  "search.ripgrep.maxThreads": {
239
205
  type: "number",
240
206
  description: ( localize(
241
- 12612,
207
+ 12921,
242
208
  "Number of threads to use for searching. When set to 0, the engine automatically determines this value."
243
209
  )),
244
210
  default: 0
@@ -246,36 +212,39 @@ configurationRegistry.registerConfiguration({
246
212
  "search.quickOpen.includeHistory": {
247
213
  type: "boolean",
248
214
  description: ( localize(
249
- 12613,
215
+ 12922,
250
216
  "Whether to include results from recently opened files in the file results for Quick Open."
251
217
  )),
252
- default: true
218
+ default: true,
219
+ agentsWindow: {
220
+ default: false
221
+ }
253
222
  },
254
223
  "search.quickOpen.history.filterSortOrder": {
255
224
  type: "string",
256
225
  enum: ["default", "recency"],
257
226
  default: "default",
258
227
  enumDescriptions: [( localize(
259
- 12614,
228
+ 12923,
260
229
  "History entries are sorted by relevance based on the filter value used. More relevant entries appear first."
261
230
  )), ( localize(
262
- 12615,
231
+ 12924,
263
232
  "History entries are sorted by recency. More recently opened entries appear first."
264
233
  ))],
265
234
  description: ( localize(
266
- 12616,
235
+ 12925,
267
236
  "Controls sorting order of editor history in quick open when filtering."
268
237
  ))
269
238
  },
270
239
  "search.followSymlinks": {
271
240
  type: "boolean",
272
- description: ( localize(12617, "Controls whether to follow symlinks while searching.")),
241
+ description: ( localize(12926, "Controls whether to follow symlinks while searching.")),
273
242
  default: true
274
243
  },
275
244
  "search.smartCase": {
276
245
  type: "boolean",
277
246
  description: ( localize(
278
- 12618,
247
+ 12927,
279
248
  "Search case-insensitively if the pattern is all lowercase, otherwise, search case-sensitively."
280
249
  )),
281
250
  default: false
@@ -284,7 +253,7 @@ configurationRegistry.registerConfiguration({
284
253
  type: "boolean",
285
254
  default: false,
286
255
  description: ( localize(
287
- 12619,
256
+ 12928,
288
257
  "Controls whether the Search view should read or modify the shared find clipboard on macOS."
289
258
  )),
290
259
  included: isMacintosh
@@ -294,11 +263,11 @@ configurationRegistry.registerConfiguration({
294
263
  enum: ["sidebar", "panel"],
295
264
  default: "sidebar",
296
265
  description: ( localize(
297
- 12620,
266
+ 12929,
298
267
  "Controls whether the search will be shown as a view in the sidebar or as a panel in the panel area for more horizontal space."
299
268
  )),
300
269
  deprecationMessage: ( localize(
301
- 12621,
270
+ 12930,
302
271
  "This setting is deprecated. You can drag the search icon to a new location instead."
303
272
  ))
304
273
  },
@@ -306,7 +275,7 @@ configurationRegistry.registerConfiguration({
306
275
  type: ["number", "null"],
307
276
  default: DEFAULT_MAX_SEARCH_RESULTS,
308
277
  markdownDescription: ( localize(
309
- 12622,
278
+ 12931,
310
279
  "Controls the maximum number of search results, this can be set to `null` (empty) to return unlimited results."
311
280
  ))
312
281
  },
@@ -314,12 +283,12 @@ configurationRegistry.registerConfiguration({
314
283
  type: "string",
315
284
  enum: ["auto", "alwaysCollapse", "alwaysExpand"],
316
285
  enumDescriptions: [( localize(
317
- 12623,
286
+ 12932,
318
287
  "Files with less than 10 results are expanded. Others are collapsed."
319
288
  )), "", ""],
320
289
  default: "alwaysExpand",
321
290
  description: ( localize(
322
- 12624,
291
+ 12933,
323
292
  "Controls whether the search results will be collapsed or expanded."
324
293
  ))
325
294
  },
@@ -327,24 +296,24 @@ configurationRegistry.registerConfiguration({
327
296
  type: "boolean",
328
297
  default: true,
329
298
  description: ( localize(
330
- 12625,
299
+ 12934,
331
300
  "Controls whether to open Replace Preview when selecting or replacing a match."
332
301
  ))
333
302
  },
334
303
  "search.showLineNumbers": {
335
304
  type: "boolean",
336
305
  default: false,
337
- description: ( localize(12626, "Controls whether to show line numbers for search results."))
306
+ description: ( localize(12935, "Controls whether to show line numbers for search results."))
338
307
  },
339
308
  "search.usePCRE2": {
340
309
  type: "boolean",
341
310
  default: false,
342
311
  description: ( localize(
343
- 12627,
312
+ 12936,
344
313
  "Whether to use the PCRE2 regex engine in text search. This enables using some advanced regex features like lookahead and backreferences. However, not all PCRE2 features are supported - only features that are also supported by JavaScript."
345
314
  )),
346
315
  deprecationMessage: ( localize(
347
- 12628,
316
+ 12937,
348
317
  "Deprecated. PCRE2 will be used automatically when using regex features that are only supported by PCRE2."
349
318
  ))
350
319
  },
@@ -352,25 +321,25 @@ configurationRegistry.registerConfiguration({
352
321
  type: "string",
353
322
  enum: ["auto", "right"],
354
323
  enumDescriptions: [( localize(
355
- 12629,
324
+ 12938,
356
325
  "Position the actionbar to the right when the Search view is narrow, and immediately after the content when the Search view is wide."
357
- )), ( localize(12630, "Always position the actionbar to the right."))],
326
+ )), ( localize(12939, "Always position the actionbar to the right."))],
358
327
  default: "right",
359
328
  description: ( localize(
360
- 12631,
329
+ 12940,
361
330
  "Controls the positioning of the actionbar on rows in the Search view."
362
331
  ))
363
332
  },
364
333
  "search.searchOnType": {
365
334
  type: "boolean",
366
335
  default: true,
367
- description: ( localize(12632, "Search all files as you type."))
336
+ description: ( localize(12941, "Search all files as you type."))
368
337
  },
369
338
  "search.seedWithNearestWord": {
370
339
  type: "boolean",
371
340
  default: false,
372
341
  description: ( localize(
373
- 12633,
342
+ 12942,
374
343
  "Enable seeding search from the word nearest the cursor when the active editor has no selection."
375
344
  ))
376
345
  },
@@ -378,7 +347,7 @@ configurationRegistry.registerConfiguration({
378
347
  type: "boolean",
379
348
  default: false,
380
349
  markdownDescription: ( localize(
381
- 12634,
350
+ 12943,
382
351
  "Update the search query to the editor's selected text when focusing the Search view. This happens either on click or when triggering the `workbench.views.search.focus` command."
383
352
  ))
384
353
  },
@@ -386,52 +355,11 @@ configurationRegistry.registerConfiguration({
386
355
  type: "number",
387
356
  default: 300,
388
357
  markdownDescription: ( localize(
389
- 12635,
358
+ 12944,
390
359
  "When {0} is enabled, controls the timeout in milliseconds between a character being typed and the search starting. Has no effect when {0} is disabled.",
391
360
  "`#search.searchOnType#`"
392
361
  ))
393
362
  },
394
- "search.searchEditor.doubleClickBehaviour": {
395
- type: "string",
396
- enum: ["selectWord", "goToLocation", "openLocationToSide"],
397
- default: "goToLocation",
398
- enumDescriptions: [( localize(12636, "Double-clicking selects the word under the cursor.")), ( localize(12637, "Double-clicking opens the result in the active editor group.")), ( localize(
399
- 12638,
400
- "Double-clicking opens the result in the editor group to the side, creating one if it does not yet exist."
401
- ))],
402
- markdownDescription: ( localize(12639, "Configure effect of double-clicking a result in a search editor."))
403
- },
404
- "search.searchEditor.singleClickBehaviour": {
405
- type: "string",
406
- enum: ["default", "peekDefinition"],
407
- default: "default",
408
- enumDescriptions: [( localize(12640, "Single-clicking does nothing.")), ( localize(12641, "Single-clicking opens a Peek Definition window."))],
409
- markdownDescription: ( localize(12642, "Configure effect of single-clicking a result in a search editor."))
410
- },
411
- "search.searchEditor.reusePriorSearchConfiguration": {
412
- type: "boolean",
413
- default: false,
414
- markdownDescription: ( localize(
415
- 12643,
416
- "When enabled, new Search Editors will reuse the includes, excludes, and flags of the previously opened Search Editor."
417
- ))
418
- },
419
- "search.searchEditor.defaultNumberOfContextLines": {
420
- type: ["number", "null"],
421
- default: 1,
422
- markdownDescription: ( localize(
423
- 12644,
424
- "The default number of surrounding context lines to use when creating new Search Editors. If using `#search.searchEditor.reusePriorSearchConfiguration#`, this can be set to `null` (empty) to use the prior Search Editor's configuration."
425
- ))
426
- },
427
- "search.searchEditor.focusResultsOnSearch": {
428
- type: "boolean",
429
- default: false,
430
- markdownDescription: ( localize(
431
- 12645,
432
- "When a search is triggered, focus the Search Editor results instead of the Search Editor input."
433
- ))
434
- },
435
363
  "search.sortOrder": {
436
364
  type: "string",
437
365
  enum: [
@@ -444,38 +372,38 @@ configurationRegistry.registerConfiguration({
444
372
  ],
445
373
  default: SearchSortOrder.Default,
446
374
  enumDescriptions: [( localize(
447
- 12646,
375
+ 12945,
448
376
  "Results are sorted by folder and file names, in alphabetical order."
449
377
  )), ( localize(
450
- 12647,
378
+ 12946,
451
379
  "Results are sorted by file names ignoring folder order, in alphabetical order."
452
- )), ( localize(12648, "Results are sorted by file extensions, in alphabetical order.")), ( localize(
453
- 12649,
380
+ )), ( localize(12947, "Results are sorted by file extensions, in alphabetical order.")), ( localize(
381
+ 12948,
454
382
  "Results are sorted by file last modified date, in descending order."
455
- )), ( localize(12650, "Results are sorted by count per file, in descending order.")), ( localize(12651, "Results are sorted by count per file, in ascending order."))],
456
- description: ( localize(12652, "Controls sorting order of search results."))
383
+ )), ( localize(12949, "Results are sorted by count per file, in descending order.")), ( localize(12950, "Results are sorted by count per file, in ascending order."))],
384
+ description: ( localize(12951, "Controls sorting order of search results."))
457
385
  },
458
386
  "search.decorations.colors": {
459
387
  type: "boolean",
460
- description: ( localize(12653, "Controls whether search file decorations should use colors.")),
388
+ description: ( localize(12952, "Controls whether search file decorations should use colors.")),
461
389
  default: true
462
390
  },
463
391
  "search.decorations.badges": {
464
392
  type: "boolean",
465
- description: ( localize(12654, "Controls whether search file decorations should use badges.")),
393
+ description: ( localize(12953, "Controls whether search file decorations should use badges.")),
466
394
  default: true
467
395
  },
468
396
  "search.defaultViewMode": {
469
397
  type: "string",
470
398
  enum: [ViewMode.Tree, ViewMode.List],
471
399
  default: ViewMode.List,
472
- enumDescriptions: [( localize(12655, "Shows search results as a tree.")), ( localize(12656, "Shows search results as a list."))],
473
- description: ( localize(12657, "Controls the default search result view mode."))
400
+ enumDescriptions: [( localize(12954, "Shows search results as a tree.")), ( localize(12955, "Shows search results as a list."))],
401
+ description: ( localize(12956, "Controls the default search result view mode."))
474
402
  },
475
403
  "search.quickAccess.preserveInput": {
476
404
  type: "boolean",
477
405
  description: ( localize(
478
- 12658,
406
+ 12957,
479
407
  "Controls whether the last typed input to Quick Search should be restored when opening it the next time."
480
408
  )),
481
409
  default: false
@@ -483,7 +411,7 @@ configurationRegistry.registerConfiguration({
483
411
  "search.experimental.closedNotebookRichContentResults": {
484
412
  type: "boolean",
485
413
  description: ( localize(
486
- 12659,
414
+ 12958,
487
415
  "Show notebook editor rich content results for closed notebooks. Please refresh your search results after changing this setting."
488
416
  )),
489
417
  default: false
@@ -491,7 +419,7 @@ configurationRegistry.registerConfiguration({
491
419
  "search.searchView.semanticSearchBehavior": {
492
420
  type: "string",
493
421
  description: ( localize(
494
- 12660,
422
+ 12959,
495
423
  "Controls the behavior of the semantic search results displayed in the Search view."
496
424
  )),
497
425
  enum: [
@@ -500,15 +428,15 @@ configurationRegistry.registerConfiguration({
500
428
  SemanticSearchBehavior.Auto
501
429
  ],
502
430
  default: SemanticSearchBehavior.Manual,
503
- enumDescriptions: [( localize(12661, "Only request semantic search results manually.")), ( localize(
504
- 12662,
431
+ enumDescriptions: [( localize(12960, "Only request semantic search results manually.")), ( localize(
432
+ 12961,
505
433
  "Request semantic results automatically only when text search results are empty."
506
- )), ( localize(12663, "Request semantic results automatically with every search."))],
434
+ )), ( localize(12962, "Request semantic results automatically with every search."))],
507
435
  tags: ["preview"]
508
436
  },
509
437
  "search.searchView.keywordSuggestions": {
510
438
  type: "boolean",
511
- description: ( localize(12664, "Enable keyword suggestions in the Search view.")),
439
+ description: ( localize(12963, "Enable keyword suggestions in the Search view.")),
512
440
  default: false,
513
441
  tags: ["preview"]
514
442
  }