@codingame/monaco-vscode-search-service-override 26.2.2 → 28.0.0

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-search-service-override",
3
- "version": "26.2.2",
3
+ "version": "28.0.0",
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": "26.2.2"
18
+ "@codingame/monaco-vscode-api": "28.0.0"
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(11180, "Open in Search View"))
99
+ tooltip: ( localize(12131, "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(11181, "See More Files")),
223
+ label: ( localize(12132, "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(11182, "Open File"))
242
+ tooltip: ( localize(12133, "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(11183, "More")),
254
+ label: ( localize(12134, "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(11184, "Open in Search View"))
275
+ tooltip: ( localize(12135, "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(11185, "Enter a term to search for across your files."))
313
+ label: ( localize(12136, "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(11186, "No matching results"))
337
+ label: ( localize(12137, "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(11187, "Search and Replace")));
115
+ this.REPLACE_SAVE_SOURCE = SaveSourceRegistry.registerSource("searchReplace.source", ( localize(12138, "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(11188, "{0} ↔ {1} (Replace Preview)", fileMatch.name(), fileMatch.name())),
169
+ label: ( localize(12139, "{0} ↔ {1} (Replace Preview)", fileMatch.name(), fileMatch.name())),
170
170
  description: this.labelService.getUriLabel(dirname(fileMatch.resource), {
171
171
  relative: true
172
172
  }),
@@ -39,6 +39,8 @@ import './searchActionsTextQuickAccess.js';
39
39
  import { TEXT_SEARCH_QUICK_ACCESS_PREFIX, TextSearchQuickAccess } from './quickTextSearch/textSearchQuickAccess.js';
40
40
  import { Extensions as Extensions$3 } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/configuration';
41
41
  import { registerWorkbenchContribution2, WorkbenchPhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions';
42
+ import { AccessibleViewRegistry } from '@codingame/monaco-vscode-api/vscode/vs/platform/accessibility/browser/accessibleViewRegistry';
43
+ import { SearchAccessibilityHelp } from './searchAccessibilityHelp.js';
42
44
 
43
45
  registerContributions();
44
46
  registerContributions$1();
@@ -47,10 +49,11 @@ registerWorkbenchContribution2(
47
49
  SearchChatContextContribution,
48
50
  WorkbenchPhase.AfterRestored
49
51
  );
52
+ AccessibleViewRegistry.register(( new SearchAccessibilityHelp()));
50
53
  const SEARCH_MODE_CONFIG = "search.mode";
51
54
  const viewContainer = ( Registry.as(Extensions.ViewContainersRegistry)).registerViewContainer({
52
55
  id: VIEWLET_ID,
53
- title: ( localize2(11189, "Search")),
56
+ title: ( localize2(12140, "Search")),
54
57
  ctorDescriptor: ( new SyncDescriptor(ViewPaneContainer, [VIEWLET_ID, {
55
58
  mergeViewWithContainerWhenSingleView: true
56
59
  }])),
@@ -63,13 +66,13 @@ const viewContainer = ( Registry.as(Extensions.ViewContainersRegistry)).register
63
66
  const viewDescriptor = {
64
67
  id: VIEW_ID,
65
68
  containerIcon: searchViewIcon,
66
- name: ( localize2(11189, "Search")),
69
+ name: ( localize2(12140, "Search")),
67
70
  ctorDescriptor: ( new SyncDescriptor(SearchView)),
68
71
  canToggleVisibility: false,
69
72
  canMoveView: true,
70
73
  openCommandActionDescriptor: {
71
74
  id: viewContainer.id,
72
- mnemonicTitle: ( localize(11190, "&&Search")),
75
+ mnemonicTitle: ( localize(12141, "&&Search")),
73
76
  keybindings: {
74
77
  primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyF,
75
78
  when: ( ContextKeyExpr.regex("neverMatch", /doesNotMatch/))
@@ -83,14 +86,14 @@ quickAccessRegistry.registerQuickAccessProvider({
83
86
  ctor: AnythingQuickAccessProvider,
84
87
  prefix: AnythingQuickAccessProvider.PREFIX,
85
88
  placeholder: ( localize(
86
- 11191,
89
+ 12142,
87
90
  "Search files by name (append {0} to go to line or {1} to go to symbol)",
88
91
  AbstractGotoLineQuickAccessProvider.GO_TO_LINE_PREFIX,
89
92
  GotoSymbolQuickAccessProvider.PREFIX
90
93
  )),
91
94
  contextKey: defaultQuickAccessContextKeyValue,
92
95
  helpEntries: [{
93
- description: ( localize(11192, "Go to File")),
96
+ description: ( localize(12143, "Go to File")),
94
97
  commandId: "workbench.action.quickOpen",
95
98
  commandCenterOrder: 10
96
99
  }]
@@ -98,10 +101,10 @@ quickAccessRegistry.registerQuickAccessProvider({
98
101
  quickAccessRegistry.registerQuickAccessProvider({
99
102
  ctor: SymbolsQuickAccessProvider,
100
103
  prefix: SymbolsQuickAccessProvider.PREFIX,
101
- placeholder: ( localize(11193, "Type the name of a symbol to open.")),
104
+ placeholder: ( localize(12144, "Type the name of a symbol to open.")),
102
105
  contextKey: "inWorkspaceSymbolsPicker",
103
106
  helpEntries: [{
104
- description: ( localize(11194, "Go to Symbol in Workspace")),
107
+ description: ( localize(12145, "Go to Symbol in Workspace")),
105
108
  commandId: SearchCommandIds.ShowAllSymbolsActionId
106
109
  }]
107
110
  });
@@ -109,9 +112,9 @@ quickAccessRegistry.registerQuickAccessProvider({
109
112
  ctor: TextSearchQuickAccess,
110
113
  prefix: TEXT_SEARCH_QUICK_ACCESS_PREFIX,
111
114
  contextKey: "inTextSearchPicker",
112
- placeholder: ( localize(11195, "Search for text in your workspace files.")),
115
+ placeholder: ( localize(12146, "Search for text in your workspace files.")),
113
116
  helpEntries: [{
114
- description: ( localize(11196, "Search for Text")),
117
+ description: ( localize(12147, "Search for Text")),
115
118
  commandId: SearchCommandIds.QuickTextSearchActionId,
116
119
  commandCenterOrder: 25
117
120
  }]
@@ -120,13 +123,13 @@ const configurationRegistry = ( Registry.as(Extensions$2.Configuration));
120
123
  configurationRegistry.registerConfiguration({
121
124
  id: "search",
122
125
  order: 13,
123
- title: ( localize(11197, "Search")),
126
+ title: ( localize(12148, "Search")),
124
127
  type: "object",
125
128
  properties: {
126
129
  [SEARCH_EXCLUDE_CONFIG]: {
127
130
  type: "object",
128
131
  markdownDescription: ( localize(
129
- 11198,
132
+ 12149,
130
133
  "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."
131
134
  )),
132
135
  default: {
@@ -138,7 +141,7 @@ configurationRegistry.registerConfiguration({
138
141
  anyOf: [{
139
142
  type: "boolean",
140
143
  description: ( localize(
141
- 11199,
144
+ 12150,
142
145
  "The glob pattern to match file paths against. Set to true or false to enable or disable the pattern."
143
146
  ))
144
147
  }, {
@@ -149,7 +152,7 @@ configurationRegistry.registerConfiguration({
149
152
  pattern: "\\w*\\$\\(basename\\)\\w*",
150
153
  default: "$(basename).ext",
151
154
  markdownDescription: ( localize(
152
- 11200,
155
+ 12151,
153
156
  "Additional check on the siblings of a matching file. Use \\$(basename) as variable for the matching file name."
154
157
  ))
155
158
  }
@@ -163,22 +166,22 @@ configurationRegistry.registerConfiguration({
163
166
  enum: ["view", "reuseEditor", "newEditor"],
164
167
  default: "view",
165
168
  markdownDescription: ( localize(
166
- 11201,
169
+ 12152,
167
170
  "Controls where new `Search: Find in Files` and `Find in Folder` operations occur: either in the Search view, or in a search editor."
168
171
  )),
169
- enumDescriptions: [( localize(11202, "Search in the Search view, either in the panel or side bars.")), ( localize(
170
- 11203,
172
+ enumDescriptions: [( localize(12153, "Search in the Search view, either in the panel or side bars.")), ( localize(
173
+ 12154,
171
174
  "Search in an existing search editor if present, otherwise in a new search editor."
172
- )), ( localize(11204, "Search in a new search editor."))]
175
+ )), ( localize(12155, "Search in a new search editor."))]
173
176
  },
174
177
  "search.useRipgrep": {
175
178
  type: "boolean",
176
179
  description: ( localize(
177
- 11205,
180
+ 12156,
178
181
  "This setting is deprecated and now falls back on \"search.usePCRE2\"."
179
182
  )),
180
183
  deprecationMessage: ( localize(
181
- 11206,
184
+ 12157,
182
185
  "Deprecated. Consider \"search.usePCRE2\" for advanced regex feature support."
183
186
  )),
184
187
  default: true
@@ -186,11 +189,11 @@ configurationRegistry.registerConfiguration({
186
189
  "search.maintainFileSearchCache": {
187
190
  type: "boolean",
188
191
  deprecationMessage: ( localize(
189
- 11207,
192
+ 12158,
190
193
  "The search cache is kept in the extension host which never shuts down, so this setting is no longer needed."
191
194
  )),
192
195
  description: ( localize(
193
- 11208,
196
+ 12159,
194
197
  "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."
195
198
  )),
196
199
  default: false
@@ -198,7 +201,7 @@ configurationRegistry.registerConfiguration({
198
201
  "search.useIgnoreFiles": {
199
202
  type: "boolean",
200
203
  markdownDescription: ( localize(
201
- 11209,
204
+ 12160,
202
205
  "Controls whether to use `.gitignore` and `.ignore` files when searching for files."
203
206
  )),
204
207
  default: true,
@@ -207,7 +210,7 @@ configurationRegistry.registerConfiguration({
207
210
  "search.useGlobalIgnoreFiles": {
208
211
  type: "boolean",
209
212
  markdownDescription: ( localize(
210
- 11210,
213
+ 12161,
211
214
  "Controls whether to use your global gitignore file (for example, from `$HOME/.config/git/ignore`) when searching for files. Requires {0} to be enabled.",
212
215
  "`#search.useIgnoreFiles#`"
213
216
  )),
@@ -217,7 +220,7 @@ configurationRegistry.registerConfiguration({
217
220
  "search.useParentIgnoreFiles": {
218
221
  type: "boolean",
219
222
  markdownDescription: ( localize(
220
- 11211,
223
+ 12162,
221
224
  "Controls whether to use `.gitignore` and `.ignore` files in parent directories when searching for files. Requires {0} to be enabled.",
222
225
  "`#search.useIgnoreFiles#`"
223
226
  )),
@@ -227,7 +230,7 @@ configurationRegistry.registerConfiguration({
227
230
  "search.quickOpen.includeSymbols": {
228
231
  type: "boolean",
229
232
  description: ( localize(
230
- 11212,
233
+ 12163,
231
234
  "Whether to include results from a global symbol search in the file results for Quick Open."
232
235
  )),
233
236
  default: false
@@ -235,7 +238,7 @@ configurationRegistry.registerConfiguration({
235
238
  "search.ripgrep.maxThreads": {
236
239
  type: "number",
237
240
  description: ( localize(
238
- 11213,
241
+ 12164,
239
242
  "Number of threads to use for searching. When set to 0, the engine automatically determines this value."
240
243
  )),
241
244
  default: 0
@@ -243,7 +246,7 @@ configurationRegistry.registerConfiguration({
243
246
  "search.quickOpen.includeHistory": {
244
247
  type: "boolean",
245
248
  description: ( localize(
246
- 11214,
249
+ 12165,
247
250
  "Whether to include results from recently opened files in the file results for Quick Open."
248
251
  )),
249
252
  default: true
@@ -253,26 +256,26 @@ configurationRegistry.registerConfiguration({
253
256
  enum: ["default", "recency"],
254
257
  default: "default",
255
258
  enumDescriptions: [( localize(
256
- 11215,
259
+ 12166,
257
260
  "History entries are sorted by relevance based on the filter value used. More relevant entries appear first."
258
261
  )), ( localize(
259
- 11216,
262
+ 12167,
260
263
  "History entries are sorted by recency. More recently opened entries appear first."
261
264
  ))],
262
265
  description: ( localize(
263
- 11217,
266
+ 12168,
264
267
  "Controls sorting order of editor history in quick open when filtering."
265
268
  ))
266
269
  },
267
270
  "search.followSymlinks": {
268
271
  type: "boolean",
269
- description: ( localize(11218, "Controls whether to follow symlinks while searching.")),
272
+ description: ( localize(12169, "Controls whether to follow symlinks while searching.")),
270
273
  default: true
271
274
  },
272
275
  "search.smartCase": {
273
276
  type: "boolean",
274
277
  description: ( localize(
275
- 11219,
278
+ 12170,
276
279
  "Search case-insensitively if the pattern is all lowercase, otherwise, search case-sensitively."
277
280
  )),
278
281
  default: false
@@ -281,7 +284,7 @@ configurationRegistry.registerConfiguration({
281
284
  type: "boolean",
282
285
  default: false,
283
286
  description: ( localize(
284
- 11220,
287
+ 12171,
285
288
  "Controls whether the Search view should read or modify the shared find clipboard on macOS."
286
289
  )),
287
290
  included: isMacintosh
@@ -291,11 +294,11 @@ configurationRegistry.registerConfiguration({
291
294
  enum: ["sidebar", "panel"],
292
295
  default: "sidebar",
293
296
  description: ( localize(
294
- 11221,
297
+ 12172,
295
298
  "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."
296
299
  )),
297
300
  deprecationMessage: ( localize(
298
- 11222,
301
+ 12173,
299
302
  "This setting is deprecated. You can drag the search icon to a new location instead."
300
303
  ))
301
304
  },
@@ -303,7 +306,7 @@ configurationRegistry.registerConfiguration({
303
306
  type: ["number", "null"],
304
307
  default: DEFAULT_MAX_SEARCH_RESULTS,
305
308
  markdownDescription: ( localize(
306
- 11223,
309
+ 12174,
307
310
  "Controls the maximum number of search results, this can be set to `null` (empty) to return unlimited results."
308
311
  ))
309
312
  },
@@ -311,12 +314,12 @@ configurationRegistry.registerConfiguration({
311
314
  type: "string",
312
315
  enum: ["auto", "alwaysCollapse", "alwaysExpand"],
313
316
  enumDescriptions: [( localize(
314
- 11224,
317
+ 12175,
315
318
  "Files with less than 10 results are expanded. Others are collapsed."
316
319
  )), "", ""],
317
320
  default: "alwaysExpand",
318
321
  description: ( localize(
319
- 11225,
322
+ 12176,
320
323
  "Controls whether the search results will be collapsed or expanded."
321
324
  ))
322
325
  },
@@ -324,24 +327,24 @@ configurationRegistry.registerConfiguration({
324
327
  type: "boolean",
325
328
  default: true,
326
329
  description: ( localize(
327
- 11226,
330
+ 12177,
328
331
  "Controls whether to open Replace Preview when selecting or replacing a match."
329
332
  ))
330
333
  },
331
334
  "search.showLineNumbers": {
332
335
  type: "boolean",
333
336
  default: false,
334
- description: ( localize(11227, "Controls whether to show line numbers for search results."))
337
+ description: ( localize(12178, "Controls whether to show line numbers for search results."))
335
338
  },
336
339
  "search.usePCRE2": {
337
340
  type: "boolean",
338
341
  default: false,
339
342
  description: ( localize(
340
- 11228,
343
+ 12179,
341
344
  "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."
342
345
  )),
343
346
  deprecationMessage: ( localize(
344
- 11229,
347
+ 12180,
345
348
  "Deprecated. PCRE2 will be used automatically when using regex features that are only supported by PCRE2."
346
349
  ))
347
350
  },
@@ -349,25 +352,25 @@ configurationRegistry.registerConfiguration({
349
352
  type: "string",
350
353
  enum: ["auto", "right"],
351
354
  enumDescriptions: [( localize(
352
- 11230,
355
+ 12181,
353
356
  "Position the actionbar to the right when the Search view is narrow, and immediately after the content when the Search view is wide."
354
- )), ( localize(11231, "Always position the actionbar to the right."))],
357
+ )), ( localize(12182, "Always position the actionbar to the right."))],
355
358
  default: "right",
356
359
  description: ( localize(
357
- 11232,
360
+ 12183,
358
361
  "Controls the positioning of the actionbar on rows in the Search view."
359
362
  ))
360
363
  },
361
364
  "search.searchOnType": {
362
365
  type: "boolean",
363
366
  default: true,
364
- description: ( localize(11233, "Search all files as you type."))
367
+ description: ( localize(12184, "Search all files as you type."))
365
368
  },
366
369
  "search.seedWithNearestWord": {
367
370
  type: "boolean",
368
371
  default: false,
369
372
  description: ( localize(
370
- 11234,
373
+ 12185,
371
374
  "Enable seeding search from the word nearest the cursor when the active editor has no selection."
372
375
  ))
373
376
  },
@@ -375,7 +378,7 @@ configurationRegistry.registerConfiguration({
375
378
  type: "boolean",
376
379
  default: false,
377
380
  markdownDescription: ( localize(
378
- 11235,
381
+ 12186,
379
382
  "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."
380
383
  ))
381
384
  },
@@ -383,7 +386,7 @@ configurationRegistry.registerConfiguration({
383
386
  type: "number",
384
387
  default: 300,
385
388
  markdownDescription: ( localize(
386
- 11236,
389
+ 12187,
387
390
  "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.",
388
391
  "`#search.searchOnType#`"
389
392
  ))
@@ -392,24 +395,24 @@ configurationRegistry.registerConfiguration({
392
395
  type: "string",
393
396
  enum: ["selectWord", "goToLocation", "openLocationToSide"],
394
397
  default: "goToLocation",
395
- enumDescriptions: [( localize(11237, "Double-clicking selects the word under the cursor.")), ( localize(11238, "Double-clicking opens the result in the active editor group.")), ( localize(
396
- 11239,
398
+ enumDescriptions: [( localize(12188, "Double-clicking selects the word under the cursor.")), ( localize(12189, "Double-clicking opens the result in the active editor group.")), ( localize(
399
+ 12190,
397
400
  "Double-clicking opens the result in the editor group to the side, creating one if it does not yet exist."
398
401
  ))],
399
- markdownDescription: ( localize(11240, "Configure effect of double-clicking a result in a search editor."))
402
+ markdownDescription: ( localize(12191, "Configure effect of double-clicking a result in a search editor."))
400
403
  },
401
404
  "search.searchEditor.singleClickBehaviour": {
402
405
  type: "string",
403
406
  enum: ["default", "peekDefinition"],
404
407
  default: "default",
405
- enumDescriptions: [( localize(11241, "Single-clicking does nothing.")), ( localize(11242, "Single-clicking opens a Peek Definition window."))],
406
- markdownDescription: ( localize(11243, "Configure effect of single-clicking a result in a search editor."))
408
+ enumDescriptions: [( localize(12192, "Single-clicking does nothing.")), ( localize(12193, "Single-clicking opens a Peek Definition window."))],
409
+ markdownDescription: ( localize(12194, "Configure effect of single-clicking a result in a search editor."))
407
410
  },
408
411
  "search.searchEditor.reusePriorSearchConfiguration": {
409
412
  type: "boolean",
410
413
  default: false,
411
414
  markdownDescription: ( localize(
412
- 11244,
415
+ 12195,
413
416
  "When enabled, new Search Editors will reuse the includes, excludes, and flags of the previously opened Search Editor."
414
417
  ))
415
418
  },
@@ -417,7 +420,7 @@ configurationRegistry.registerConfiguration({
417
420
  type: ["number", "null"],
418
421
  default: 1,
419
422
  markdownDescription: ( localize(
420
- 11245,
423
+ 12196,
421
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."
422
425
  ))
423
426
  },
@@ -425,7 +428,7 @@ configurationRegistry.registerConfiguration({
425
428
  type: "boolean",
426
429
  default: false,
427
430
  markdownDescription: ( localize(
428
- 11246,
431
+ 12197,
429
432
  "When a search is triggered, focus the Search Editor results instead of the Search Editor input."
430
433
  ))
431
434
  },
@@ -441,38 +444,38 @@ configurationRegistry.registerConfiguration({
441
444
  ],
442
445
  default: SearchSortOrder.Default,
443
446
  enumDescriptions: [( localize(
444
- 11247,
447
+ 12198,
445
448
  "Results are sorted by folder and file names, in alphabetical order."
446
449
  )), ( localize(
447
- 11248,
450
+ 12199,
448
451
  "Results are sorted by file names ignoring folder order, in alphabetical order."
449
- )), ( localize(11249, "Results are sorted by file extensions, in alphabetical order.")), ( localize(
450
- 11250,
452
+ )), ( localize(12200, "Results are sorted by file extensions, in alphabetical order.")), ( localize(
453
+ 12201,
451
454
  "Results are sorted by file last modified date, in descending order."
452
- )), ( localize(11251, "Results are sorted by count per file, in descending order.")), ( localize(11252, "Results are sorted by count per file, in ascending order."))],
453
- description: ( localize(11253, "Controls sorting order of search results."))
455
+ )), ( localize(12202, "Results are sorted by count per file, in descending order.")), ( localize(12203, "Results are sorted by count per file, in ascending order."))],
456
+ description: ( localize(12204, "Controls sorting order of search results."))
454
457
  },
455
458
  "search.decorations.colors": {
456
459
  type: "boolean",
457
- description: ( localize(11254, "Controls whether search file decorations should use colors.")),
460
+ description: ( localize(12205, "Controls whether search file decorations should use colors.")),
458
461
  default: true
459
462
  },
460
463
  "search.decorations.badges": {
461
464
  type: "boolean",
462
- description: ( localize(11255, "Controls whether search file decorations should use badges.")),
465
+ description: ( localize(12206, "Controls whether search file decorations should use badges.")),
463
466
  default: true
464
467
  },
465
468
  "search.defaultViewMode": {
466
469
  type: "string",
467
470
  enum: [ViewMode.Tree, ViewMode.List],
468
471
  default: ViewMode.List,
469
- enumDescriptions: [( localize(11256, "Shows search results as a tree.")), ( localize(11257, "Shows search results as a list."))],
470
- description: ( localize(11258, "Controls the default search result view mode."))
472
+ enumDescriptions: [( localize(12207, "Shows search results as a tree.")), ( localize(12208, "Shows search results as a list."))],
473
+ description: ( localize(12209, "Controls the default search result view mode."))
471
474
  },
472
475
  "search.quickAccess.preserveInput": {
473
476
  type: "boolean",
474
477
  description: ( localize(
475
- 11259,
478
+ 12210,
476
479
  "Controls whether the last typed input to Quick Search should be restored when opening it the next time."
477
480
  )),
478
481
  default: false
@@ -480,7 +483,7 @@ configurationRegistry.registerConfiguration({
480
483
  "search.experimental.closedNotebookRichContentResults": {
481
484
  type: "boolean",
482
485
  description: ( localize(
483
- 11260,
486
+ 12211,
484
487
  "Show notebook editor rich content results for closed notebooks. Please refresh your search results after changing this setting."
485
488
  )),
486
489
  default: false
@@ -488,7 +491,7 @@ configurationRegistry.registerConfiguration({
488
491
  "search.searchView.semanticSearchBehavior": {
489
492
  type: "string",
490
493
  description: ( localize(
491
- 11261,
494
+ 12212,
492
495
  "Controls the behavior of the semantic search results displayed in the Search view."
493
496
  )),
494
497
  enum: [
@@ -497,15 +500,15 @@ configurationRegistry.registerConfiguration({
497
500
  SemanticSearchBehavior.Auto
498
501
  ],
499
502
  default: SemanticSearchBehavior.Manual,
500
- enumDescriptions: [( localize(11262, "Only request semantic search results manually.")), ( localize(
501
- 11263,
503
+ enumDescriptions: [( localize(12213, "Only request semantic search results manually.")), ( localize(
504
+ 12214,
502
505
  "Request semantic results automatically only when text search results are empty."
503
- )), ( localize(11264, "Request semantic results automatically with every search."))],
506
+ )), ( localize(12215, "Request semantic results automatically with every search."))],
504
507
  tags: ["preview"]
505
508
  },
506
509
  "search.searchView.keywordSuggestions": {
507
510
  type: "boolean",
508
- description: ( localize(11265, "Enable keyword suggestions in the Search view.")),
511
+ description: ( localize(12216, "Enable keyword suggestions in the Search view.")),
509
512
  default: false,
510
513
  tags: ["preview"]
511
514
  }
@@ -0,0 +1,10 @@
1
+ import { AccessibleViewType, AccessibleContentProvider } from "@codingame/monaco-vscode-api/vscode/vs/platform/accessibility/browser/accessibleView";
2
+ import { IAccessibleViewImplementation } from "@codingame/monaco-vscode-api/vscode/vs/platform/accessibility/browser/accessibleViewRegistry";
3
+ import { ServicesAccessor } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation";
4
+ export declare class SearchAccessibilityHelp implements IAccessibleViewImplementation {
5
+ readonly priority = 105;
6
+ readonly name = "search";
7
+ readonly type = AccessibleViewType.Help;
8
+ readonly when: import("@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey").RawContextKey<boolean>;
9
+ getProvider(accessor: ServicesAccessor): AccessibleContentProvider | undefined;
10
+ }