@codingame/monaco-vscode-search-service-override 21.3.2 → 21.3.3
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 +16 -16
- package/vscode/src/vs/workbench/contrib/search/browser/quickTextSearch/textSearchQuickAccess.js +7 -7
- package/vscode/src/vs/workbench/contrib/search/browser/replaceService.js +2 -2
- package/vscode/src/vs/workbench/contrib/search/browser/search.contribution.js +78 -78
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsCopy.js +4 -4
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsNav.js +17 -17
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsRemoveReplace.js +4 -4
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsSymbol.js +3 -3
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsTextQuickAccess.js +1 -1
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditor.contribution.js +20 -20
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditor.js +9 -9
- 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": "21.3.
|
|
3
|
+
"version": "21.3.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - search service-override",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,21 +15,21 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-158b9837-fc78-5d9c-86f5-9134e4358643-common": "21.3.
|
|
19
|
-
"@codingame/monaco-vscode-23b6fb38-5e58-5886-b34b-27abc4f5df02-common": "21.3.
|
|
20
|
-
"@codingame/monaco-vscode-45a408c6-90ed-5d8b-801d-f3f69c7a97f2-common": "21.3.
|
|
21
|
-
"@codingame/monaco-vscode-4dda7789-5a25-5e8b-b2de-c2f11b1b96e5-common": "21.3.
|
|
22
|
-
"@codingame/monaco-vscode-523730aa-81e6-55d7-9916-87ad537fe087-common": "21.3.
|
|
23
|
-
"@codingame/monaco-vscode-5e2c24a1-3217-55e8-bc90-521eaf7df5a6-common": "21.3.
|
|
24
|
-
"@codingame/monaco-vscode-64322fa2-7385-5f46-935b-8f243d98004b-common": "21.3.
|
|
25
|
-
"@codingame/monaco-vscode-6f9bc782-77e0-5716-93bd-b05210c768c5-common": "21.3.
|
|
26
|
-
"@codingame/monaco-vscode-71c8dbff-4c98-552f-aef0-e72b00fdcfc0-common": "21.3.
|
|
27
|
-
"@codingame/monaco-vscode-85f7fb0f-70f5-5a5e-831b-15c743a8bd11-common": "21.3.
|
|
28
|
-
"@codingame/monaco-vscode-api": "21.3.
|
|
29
|
-
"@codingame/monaco-vscode-bc8c28cd-7a80-54a9-af1a-e6b1e7a7f34a-common": "21.3.
|
|
30
|
-
"@codingame/monaco-vscode-bd0792ac-6043-5ec3-a41a-54ccb922a1f4-common": "21.3.
|
|
31
|
-
"@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common": "21.3.
|
|
32
|
-
"@codingame/monaco-vscode-eda30bac-0984-5b42-9362-c68996b85232-common": "21.3.
|
|
18
|
+
"@codingame/monaco-vscode-158b9837-fc78-5d9c-86f5-9134e4358643-common": "21.3.3",
|
|
19
|
+
"@codingame/monaco-vscode-23b6fb38-5e58-5886-b34b-27abc4f5df02-common": "21.3.3",
|
|
20
|
+
"@codingame/monaco-vscode-45a408c6-90ed-5d8b-801d-f3f69c7a97f2-common": "21.3.3",
|
|
21
|
+
"@codingame/monaco-vscode-4dda7789-5a25-5e8b-b2de-c2f11b1b96e5-common": "21.3.3",
|
|
22
|
+
"@codingame/monaco-vscode-523730aa-81e6-55d7-9916-87ad537fe087-common": "21.3.3",
|
|
23
|
+
"@codingame/monaco-vscode-5e2c24a1-3217-55e8-bc90-521eaf7df5a6-common": "21.3.3",
|
|
24
|
+
"@codingame/monaco-vscode-64322fa2-7385-5f46-935b-8f243d98004b-common": "21.3.3",
|
|
25
|
+
"@codingame/monaco-vscode-6f9bc782-77e0-5716-93bd-b05210c768c5-common": "21.3.3",
|
|
26
|
+
"@codingame/monaco-vscode-71c8dbff-4c98-552f-aef0-e72b00fdcfc0-common": "21.3.3",
|
|
27
|
+
"@codingame/monaco-vscode-85f7fb0f-70f5-5a5e-831b-15c743a8bd11-common": "21.3.3",
|
|
28
|
+
"@codingame/monaco-vscode-api": "21.3.3",
|
|
29
|
+
"@codingame/monaco-vscode-bc8c28cd-7a80-54a9-af1a-e6b1e7a7f34a-common": "21.3.3",
|
|
30
|
+
"@codingame/monaco-vscode-bd0792ac-6043-5ec3-a41a-54ccb922a1f4-common": "21.3.3",
|
|
31
|
+
"@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common": "21.3.3",
|
|
32
|
+
"@codingame/monaco-vscode-eda30bac-0984-5b42-9362-c68996b85232-common": "21.3.3"
|
|
33
33
|
},
|
|
34
34
|
"main": "index.js",
|
|
35
35
|
"module": "index.js",
|
package/vscode/src/vs/workbench/contrib/search/browser/quickTextSearch/textSearchQuickAccess.js
CHANGED
|
@@ -86,7 +86,7 @@ let TextSearchQuickAccess = class TextSearchQuickAccess extends PickerQuickAcces
|
|
|
86
86
|
picker.buttons = [{
|
|
87
87
|
location: QuickInputButtonLocation.Inline,
|
|
88
88
|
iconClass: ThemeIcon.asClassName(Codicon.goToSearch),
|
|
89
|
-
tooltip: ( localize(
|
|
89
|
+
tooltip: ( localize(10126, "Open in Search View"))
|
|
90
90
|
}];
|
|
91
91
|
this.editorViewState.reset();
|
|
92
92
|
disposables.add(picker.onDidTriggerButton(async () => {
|
|
@@ -195,7 +195,7 @@ let TextSearchQuickAccess = class TextSearchQuickAccess extends PickerQuickAcces
|
|
|
195
195
|
type: 'separator',
|
|
196
196
|
});
|
|
197
197
|
picks.push({
|
|
198
|
-
label: ( localize(
|
|
198
|
+
label: ( localize(10127, "See More Files")),
|
|
199
199
|
iconClass: ThemeIcon.asClassName(searchDetailsIcon),
|
|
200
200
|
accept: async () => {
|
|
201
201
|
await this.moveToSearchViewlet(matches[limit]);
|
|
@@ -212,7 +212,7 @@ let TextSearchQuickAccess = class TextSearchQuickAccess extends PickerQuickAcces
|
|
|
212
212
|
description,
|
|
213
213
|
buttons: [{
|
|
214
214
|
iconClass: ThemeIcon.asClassName(searchOpenInFileIcon),
|
|
215
|
-
tooltip: ( localize(
|
|
215
|
+
tooltip: ( localize(10128, "Open File"))
|
|
216
216
|
}],
|
|
217
217
|
trigger: async () => {
|
|
218
218
|
await this.handleAccept(iFileInstanceMatch, {});
|
|
@@ -224,7 +224,7 @@ let TextSearchQuickAccess = class TextSearchQuickAccess extends PickerQuickAcces
|
|
|
224
224
|
const element = results[matchIndex];
|
|
225
225
|
if (matchIndex === MAX_RESULTS_PER_FILE) {
|
|
226
226
|
picks.push({
|
|
227
|
-
label: ( localize(
|
|
227
|
+
label: ( localize(10129, "More")),
|
|
228
228
|
iconClass: ThemeIcon.asClassName(searchDetailsIcon),
|
|
229
229
|
accept: async () => {
|
|
230
230
|
await this.moveToSearchViewlet(element);
|
|
@@ -245,7 +245,7 @@ let TextSearchQuickAccess = class TextSearchQuickAccess extends PickerQuickAcces
|
|
|
245
245
|
},
|
|
246
246
|
buttons: [{
|
|
247
247
|
iconClass: ThemeIcon.asClassName(searchActivityBarIcon),
|
|
248
|
-
tooltip: ( localize(
|
|
248
|
+
tooltip: ( localize(10130, "Open in Search View")),
|
|
249
249
|
}],
|
|
250
250
|
ariaLabel: `Match at location ${element.range().startLineNumber}:${element.range().startColumn} - ${previewText}`,
|
|
251
251
|
accept: async (keyMods, event) => {
|
|
@@ -283,7 +283,7 @@ let TextSearchQuickAccess = class TextSearchQuickAccess extends PickerQuickAcces
|
|
|
283
283
|
if (contentPattern === '') {
|
|
284
284
|
this.searchModel.searchResult.clear();
|
|
285
285
|
return [{
|
|
286
|
-
label: ( localize(
|
|
286
|
+
label: ( localize(10131, "Enter a term to search for across your files."))
|
|
287
287
|
}];
|
|
288
288
|
}
|
|
289
289
|
const conditionalTokenCts = disposables.add(( new CancellationTokenSource()));
|
|
@@ -308,7 +308,7 @@ let TextSearchQuickAccess = class TextSearchQuickAccess extends PickerQuickAcces
|
|
|
308
308
|
picks: syncResult,
|
|
309
309
|
additionalPicks: allMatches.asyncResults
|
|
310
310
|
.then(asyncResults => (asyncResults.length + syncResult.length === 0) ? [{
|
|
311
|
-
label: ( localize(
|
|
311
|
+
label: ( localize(10132, "No matching results"))
|
|
312
312
|
}] : this._getPicksFromMatches(asyncResults, MAX_FILES_SHOWN - matches.length))
|
|
313
313
|
.then(picks => {
|
|
314
314
|
if (picks.length > 0) {
|
|
@@ -90,7 +90,7 @@ ReplacePreviewModel = ( __decorate([
|
|
|
90
90
|
], ReplacePreviewModel));
|
|
91
91
|
let ReplaceService = class ReplaceService {
|
|
92
92
|
static { ReplaceService_1 = this; }
|
|
93
|
-
static { this.REPLACE_SAVE_SOURCE = SaveSourceRegistry.registerSource('searchReplace.source', ( localize(
|
|
93
|
+
static { this.REPLACE_SAVE_SOURCE = SaveSourceRegistry.registerSource('searchReplace.source', ( localize(10133, "Search and Replace"))); }
|
|
94
94
|
constructor(textFileService, editorService, textModelResolverService, bulkEditorService, labelService, notebookEditorModelResolverService) {
|
|
95
95
|
this.textFileService = textFileService;
|
|
96
96
|
this.editorService = editorService;
|
|
@@ -128,7 +128,7 @@ let ReplaceService = class ReplaceService {
|
|
|
128
128
|
const editor = await this.editorService.openEditor({
|
|
129
129
|
original: { resource: fileMatch.resource },
|
|
130
130
|
modified: { resource: toReplaceResource(fileMatch.resource) },
|
|
131
|
-
label: ( localize(
|
|
131
|
+
label: ( localize(10134, "{0} ↔ {1} (Replace Preview)", fileMatch.name(), fileMatch.name())),
|
|
132
132
|
description: this.labelService.getUriLabel(dirname(fileMatch.resource), { relative: true }),
|
|
133
133
|
options: {
|
|
134
134
|
preserveFocus,
|
|
@@ -46,7 +46,7 @@ registerWorkbenchContribution2(SearchChatContextContribution.ID, SearchChatConte
|
|
|
46
46
|
const SEARCH_MODE_CONFIG = 'search.mode';
|
|
47
47
|
const viewContainer = ( Registry.as(Extensions.ViewContainersRegistry)).registerViewContainer({
|
|
48
48
|
id: VIEWLET_ID,
|
|
49
|
-
title: ( localize2(
|
|
49
|
+
title: ( localize2(10135, "Search")),
|
|
50
50
|
ctorDescriptor: ( new SyncDescriptor(
|
|
51
51
|
ViewPaneContainer,
|
|
52
52
|
[VIEWLET_ID, { mergeViewWithContainerWhenSingleView: true }]
|
|
@@ -58,13 +58,13 @@ const viewContainer = ( Registry.as(Extensions.ViewContainersRegistry)).register
|
|
|
58
58
|
const viewDescriptor = {
|
|
59
59
|
id: VIEW_ID,
|
|
60
60
|
containerIcon: searchViewIcon,
|
|
61
|
-
name: ( localize2(
|
|
61
|
+
name: ( localize2(10135, "Search")),
|
|
62
62
|
ctorDescriptor: ( new SyncDescriptor(SearchView)),
|
|
63
63
|
canToggleVisibility: false,
|
|
64
64
|
canMoveView: true,
|
|
65
65
|
openCommandActionDescriptor: {
|
|
66
66
|
id: viewContainer.id,
|
|
67
|
-
mnemonicTitle: ( localize(
|
|
67
|
+
mnemonicTitle: ( localize(10136, "&&Search")),
|
|
68
68
|
keybindings: {
|
|
69
69
|
primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyF,
|
|
70
70
|
when: ( ContextKeyExpr.regex('neverMatch', /doesNotMatch/))
|
|
@@ -78,14 +78,14 @@ quickAccessRegistry.registerQuickAccessProvider({
|
|
|
78
78
|
ctor: AnythingQuickAccessProvider,
|
|
79
79
|
prefix: AnythingQuickAccessProvider.PREFIX,
|
|
80
80
|
placeholder: ( localize(
|
|
81
|
-
|
|
81
|
+
10137,
|
|
82
82
|
"Search files by name (append {0} to go to line or {1} to go to symbol)",
|
|
83
83
|
AbstractGotoLineQuickAccessProvider.PREFIX,
|
|
84
84
|
GotoSymbolQuickAccessProvider.PREFIX
|
|
85
85
|
)),
|
|
86
86
|
contextKey: defaultQuickAccessContextKeyValue,
|
|
87
87
|
helpEntries: [{
|
|
88
|
-
description: ( localize(
|
|
88
|
+
description: ( localize(10138, "Go to File")),
|
|
89
89
|
commandId: 'workbench.action.quickOpen',
|
|
90
90
|
commandCenterOrder: 10
|
|
91
91
|
}]
|
|
@@ -93,18 +93,18 @@ quickAccessRegistry.registerQuickAccessProvider({
|
|
|
93
93
|
quickAccessRegistry.registerQuickAccessProvider({
|
|
94
94
|
ctor: SymbolsQuickAccessProvider,
|
|
95
95
|
prefix: SymbolsQuickAccessProvider.PREFIX,
|
|
96
|
-
placeholder: ( localize(
|
|
96
|
+
placeholder: ( localize(10139, "Type the name of a symbol to open.")),
|
|
97
97
|
contextKey: 'inWorkspaceSymbolsPicker',
|
|
98
|
-
helpEntries: [{ description: ( localize(
|
|
98
|
+
helpEntries: [{ description: ( localize(10140, "Go to Symbol in Workspace")), commandId: SearchCommandIds.ShowAllSymbolsActionId }]
|
|
99
99
|
});
|
|
100
100
|
quickAccessRegistry.registerQuickAccessProvider({
|
|
101
101
|
ctor: TextSearchQuickAccess,
|
|
102
102
|
prefix: TEXT_SEARCH_QUICK_ACCESS_PREFIX,
|
|
103
103
|
contextKey: 'inTextSearchPicker',
|
|
104
|
-
placeholder: ( localize(
|
|
104
|
+
placeholder: ( localize(10141, "Search for text in your workspace files.")),
|
|
105
105
|
helpEntries: [
|
|
106
106
|
{
|
|
107
|
-
description: ( localize(
|
|
107
|
+
description: ( localize(10142, "Search for Text")),
|
|
108
108
|
commandId: SearchCommandIds.QuickTextSearchActionId,
|
|
109
109
|
commandCenterOrder: 25,
|
|
110
110
|
}
|
|
@@ -114,13 +114,13 @@ const configurationRegistry = ( Registry.as(Extensions$2.Configuration));
|
|
|
114
114
|
configurationRegistry.registerConfiguration({
|
|
115
115
|
id: 'search',
|
|
116
116
|
order: 13,
|
|
117
|
-
title: ( localize(
|
|
117
|
+
title: ( localize(10143, "Search")),
|
|
118
118
|
type: 'object',
|
|
119
119
|
properties: {
|
|
120
120
|
[SEARCH_EXCLUDE_CONFIG]: {
|
|
121
121
|
type: 'object',
|
|
122
122
|
markdownDescription: ( localize(
|
|
123
|
-
|
|
123
|
+
10144,
|
|
124
124
|
"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."
|
|
125
125
|
)),
|
|
126
126
|
default: { '**/node_modules': true, '**/bower_components': true, '**/*.code-search': true },
|
|
@@ -129,7 +129,7 @@ configurationRegistry.registerConfiguration({
|
|
|
129
129
|
{
|
|
130
130
|
type: 'boolean',
|
|
131
131
|
description: ( localize(
|
|
132
|
-
|
|
132
|
+
10145,
|
|
133
133
|
"The glob pattern to match file paths against. Set to true or false to enable or disable the pattern."
|
|
134
134
|
)),
|
|
135
135
|
},
|
|
@@ -141,7 +141,7 @@ configurationRegistry.registerConfiguration({
|
|
|
141
141
|
pattern: '\\w*\\$\\(basename\\)\\w*',
|
|
142
142
|
default: '$(basename).ext',
|
|
143
143
|
markdownDescription: ( localize(
|
|
144
|
-
|
|
144
|
+
10146,
|
|
145
145
|
'Additional check on the siblings of a matching file. Use \\$(basename) as variable for the matching file name.'
|
|
146
146
|
))
|
|
147
147
|
}
|
|
@@ -156,26 +156,26 @@ configurationRegistry.registerConfiguration({
|
|
|
156
156
|
enum: ['view', 'reuseEditor', 'newEditor'],
|
|
157
157
|
default: 'view',
|
|
158
158
|
markdownDescription: ( localize(
|
|
159
|
-
|
|
159
|
+
10147,
|
|
160
160
|
"Controls where new `Search: Find in Files` and `Find in Folder` operations occur: either in the Search view, or in a search editor."
|
|
161
161
|
)),
|
|
162
162
|
enumDescriptions: [
|
|
163
|
-
( localize(
|
|
163
|
+
( localize(10148, "Search in the Search view, either in the panel or side bars.")),
|
|
164
164
|
( localize(
|
|
165
|
-
|
|
165
|
+
10149,
|
|
166
166
|
"Search in an existing search editor if present, otherwise in a new search editor."
|
|
167
167
|
)),
|
|
168
|
-
( localize(
|
|
168
|
+
( localize(10150, "Search in a new search editor.")),
|
|
169
169
|
]
|
|
170
170
|
},
|
|
171
171
|
'search.useRipgrep': {
|
|
172
172
|
type: 'boolean',
|
|
173
173
|
description: ( localize(
|
|
174
|
-
|
|
174
|
+
10151,
|
|
175
175
|
"This setting is deprecated and now falls back on \"search.usePCRE2\"."
|
|
176
176
|
)),
|
|
177
177
|
deprecationMessage: ( localize(
|
|
178
|
-
|
|
178
|
+
10152,
|
|
179
179
|
"Deprecated. Consider \"search.usePCRE2\" for advanced regex feature support."
|
|
180
180
|
)),
|
|
181
181
|
default: true
|
|
@@ -183,11 +183,11 @@ configurationRegistry.registerConfiguration({
|
|
|
183
183
|
'search.maintainFileSearchCache': {
|
|
184
184
|
type: 'boolean',
|
|
185
185
|
deprecationMessage: ( localize(
|
|
186
|
-
|
|
186
|
+
10153,
|
|
187
187
|
"The search cache is kept in the extension host which never shuts down, so this setting is no longer needed."
|
|
188
188
|
)),
|
|
189
189
|
description: ( localize(
|
|
190
|
-
|
|
190
|
+
10154,
|
|
191
191
|
"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."
|
|
192
192
|
)),
|
|
193
193
|
default: false
|
|
@@ -195,7 +195,7 @@ configurationRegistry.registerConfiguration({
|
|
|
195
195
|
'search.useIgnoreFiles': {
|
|
196
196
|
type: 'boolean',
|
|
197
197
|
markdownDescription: ( localize(
|
|
198
|
-
|
|
198
|
+
10155,
|
|
199
199
|
"Controls whether to use `.gitignore` and `.ignore` files when searching for files."
|
|
200
200
|
)),
|
|
201
201
|
default: true,
|
|
@@ -204,7 +204,7 @@ configurationRegistry.registerConfiguration({
|
|
|
204
204
|
'search.useGlobalIgnoreFiles': {
|
|
205
205
|
type: 'boolean',
|
|
206
206
|
markdownDescription: ( localize(
|
|
207
|
-
|
|
207
|
+
10156,
|
|
208
208
|
"Controls whether to use your global gitignore file (for example, from `$HOME/.config/git/ignore`) when searching for files. Requires {0} to be enabled.",
|
|
209
209
|
'`#search.useIgnoreFiles#`'
|
|
210
210
|
)),
|
|
@@ -214,7 +214,7 @@ configurationRegistry.registerConfiguration({
|
|
|
214
214
|
'search.useParentIgnoreFiles': {
|
|
215
215
|
type: 'boolean',
|
|
216
216
|
markdownDescription: ( localize(
|
|
217
|
-
|
|
217
|
+
10157,
|
|
218
218
|
"Controls whether to use `.gitignore` and `.ignore` files in parent directories when searching for files. Requires {0} to be enabled.",
|
|
219
219
|
'`#search.useIgnoreFiles#`'
|
|
220
220
|
)),
|
|
@@ -224,7 +224,7 @@ configurationRegistry.registerConfiguration({
|
|
|
224
224
|
'search.quickOpen.includeSymbols': {
|
|
225
225
|
type: 'boolean',
|
|
226
226
|
description: ( localize(
|
|
227
|
-
|
|
227
|
+
10158,
|
|
228
228
|
"Whether to include results from a global symbol search in the file results for Quick Open."
|
|
229
229
|
)),
|
|
230
230
|
default: false
|
|
@@ -232,7 +232,7 @@ configurationRegistry.registerConfiguration({
|
|
|
232
232
|
'search.ripgrep.maxThreads': {
|
|
233
233
|
type: 'number',
|
|
234
234
|
description: ( localize(
|
|
235
|
-
|
|
235
|
+
10159,
|
|
236
236
|
"Number of threads to use for searching. When set to 0, the engine automatically determines this value."
|
|
237
237
|
)),
|
|
238
238
|
default: 0
|
|
@@ -240,7 +240,7 @@ configurationRegistry.registerConfiguration({
|
|
|
240
240
|
'search.quickOpen.includeHistory': {
|
|
241
241
|
type: 'boolean',
|
|
242
242
|
description: ( localize(
|
|
243
|
-
|
|
243
|
+
10160,
|
|
244
244
|
"Whether to include results from recently opened files in the file results for Quick Open."
|
|
245
245
|
)),
|
|
246
246
|
default: true
|
|
@@ -251,28 +251,28 @@ configurationRegistry.registerConfiguration({
|
|
|
251
251
|
default: 'default',
|
|
252
252
|
enumDescriptions: [
|
|
253
253
|
( localize(
|
|
254
|
-
|
|
254
|
+
10161,
|
|
255
255
|
'History entries are sorted by relevance based on the filter value used. More relevant entries appear first.'
|
|
256
256
|
)),
|
|
257
257
|
( localize(
|
|
258
|
-
|
|
258
|
+
10162,
|
|
259
259
|
'History entries are sorted by recency. More recently opened entries appear first.'
|
|
260
260
|
))
|
|
261
261
|
],
|
|
262
262
|
description: ( localize(
|
|
263
|
-
|
|
263
|
+
10163,
|
|
264
264
|
"Controls sorting order of editor history in quick open when filtering."
|
|
265
265
|
))
|
|
266
266
|
},
|
|
267
267
|
'search.followSymlinks': {
|
|
268
268
|
type: 'boolean',
|
|
269
|
-
description: ( localize(
|
|
269
|
+
description: ( localize(10164, "Controls whether to follow symlinks while searching.")),
|
|
270
270
|
default: true
|
|
271
271
|
},
|
|
272
272
|
'search.smartCase': {
|
|
273
273
|
type: 'boolean',
|
|
274
274
|
description: ( localize(
|
|
275
|
-
|
|
275
|
+
10165,
|
|
276
276
|
"Search case-insensitively if the pattern is all lowercase, otherwise, search case-sensitively."
|
|
277
277
|
)),
|
|
278
278
|
default: false
|
|
@@ -281,7 +281,7 @@ configurationRegistry.registerConfiguration({
|
|
|
281
281
|
type: 'boolean',
|
|
282
282
|
default: false,
|
|
283
283
|
description: ( localize(
|
|
284
|
-
|
|
284
|
+
10166,
|
|
285
285
|
"Controls whether the Search view should read or modify the shared find clipboard on macOS."
|
|
286
286
|
)),
|
|
287
287
|
included: isMacintosh
|
|
@@ -291,11 +291,11 @@ configurationRegistry.registerConfiguration({
|
|
|
291
291
|
enum: ['sidebar', 'panel'],
|
|
292
292
|
default: 'sidebar',
|
|
293
293
|
description: ( localize(
|
|
294
|
-
|
|
294
|
+
10167,
|
|
295
295
|
"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
296
|
)),
|
|
297
297
|
deprecationMessage: ( localize(
|
|
298
|
-
|
|
298
|
+
10168,
|
|
299
299
|
"This setting is deprecated. You can drag the search icon to a new location instead."
|
|
300
300
|
))
|
|
301
301
|
},
|
|
@@ -303,7 +303,7 @@ configurationRegistry.registerConfiguration({
|
|
|
303
303
|
type: ['number', 'null'],
|
|
304
304
|
default: DEFAULT_MAX_SEARCH_RESULTS,
|
|
305
305
|
markdownDescription: ( localize(
|
|
306
|
-
|
|
306
|
+
10169,
|
|
307
307
|
"Controls the maximum number of search results, this can be set to `null` (empty) to return unlimited results."
|
|
308
308
|
))
|
|
309
309
|
},
|
|
@@ -312,7 +312,7 @@ configurationRegistry.registerConfiguration({
|
|
|
312
312
|
enum: ['auto', 'alwaysCollapse', 'alwaysExpand'],
|
|
313
313
|
enumDescriptions: [
|
|
314
314
|
( localize(
|
|
315
|
-
|
|
315
|
+
10170,
|
|
316
316
|
"Files with less than 10 results are expanded. Others are collapsed."
|
|
317
317
|
)),
|
|
318
318
|
'',
|
|
@@ -320,7 +320,7 @@ configurationRegistry.registerConfiguration({
|
|
|
320
320
|
],
|
|
321
321
|
default: 'alwaysExpand',
|
|
322
322
|
description: ( localize(
|
|
323
|
-
|
|
323
|
+
10171,
|
|
324
324
|
"Controls whether the search results will be collapsed or expanded."
|
|
325
325
|
)),
|
|
326
326
|
},
|
|
@@ -328,24 +328,24 @@ configurationRegistry.registerConfiguration({
|
|
|
328
328
|
type: 'boolean',
|
|
329
329
|
default: true,
|
|
330
330
|
description: ( localize(
|
|
331
|
-
|
|
331
|
+
10172,
|
|
332
332
|
"Controls whether to open Replace Preview when selecting or replacing a match."
|
|
333
333
|
)),
|
|
334
334
|
},
|
|
335
335
|
'search.showLineNumbers': {
|
|
336
336
|
type: 'boolean',
|
|
337
337
|
default: false,
|
|
338
|
-
description: ( localize(
|
|
338
|
+
description: ( localize(10173, "Controls whether to show line numbers for search results.")),
|
|
339
339
|
},
|
|
340
340
|
'search.usePCRE2': {
|
|
341
341
|
type: 'boolean',
|
|
342
342
|
default: false,
|
|
343
343
|
description: ( localize(
|
|
344
|
-
|
|
344
|
+
10174,
|
|
345
345
|
"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."
|
|
346
346
|
)),
|
|
347
347
|
deprecationMessage: ( localize(
|
|
348
|
-
|
|
348
|
+
10175,
|
|
349
349
|
"Deprecated. PCRE2 will be used automatically when using regex features that are only supported by PCRE2."
|
|
350
350
|
)),
|
|
351
351
|
},
|
|
@@ -354,27 +354,27 @@ configurationRegistry.registerConfiguration({
|
|
|
354
354
|
enum: ['auto', 'right'],
|
|
355
355
|
enumDescriptions: [
|
|
356
356
|
( localize(
|
|
357
|
-
|
|
357
|
+
10176,
|
|
358
358
|
"Position the actionbar to the right when the Search view is narrow, and immediately after the content when the Search view is wide."
|
|
359
359
|
)),
|
|
360
|
-
( localize(
|
|
360
|
+
( localize(10177, "Always position the actionbar to the right.")),
|
|
361
361
|
],
|
|
362
362
|
default: 'right',
|
|
363
363
|
description: ( localize(
|
|
364
|
-
|
|
364
|
+
10178,
|
|
365
365
|
"Controls the positioning of the actionbar on rows in the Search view."
|
|
366
366
|
))
|
|
367
367
|
},
|
|
368
368
|
'search.searchOnType': {
|
|
369
369
|
type: 'boolean',
|
|
370
370
|
default: true,
|
|
371
|
-
description: ( localize(
|
|
371
|
+
description: ( localize(10179, "Search all files as you type."))
|
|
372
372
|
},
|
|
373
373
|
'search.seedWithNearestWord': {
|
|
374
374
|
type: 'boolean',
|
|
375
375
|
default: false,
|
|
376
376
|
description: ( localize(
|
|
377
|
-
|
|
377
|
+
10180,
|
|
378
378
|
"Enable seeding search from the word nearest the cursor when the active editor has no selection."
|
|
379
379
|
))
|
|
380
380
|
},
|
|
@@ -382,7 +382,7 @@ configurationRegistry.registerConfiguration({
|
|
|
382
382
|
type: 'boolean',
|
|
383
383
|
default: false,
|
|
384
384
|
markdownDescription: ( localize(
|
|
385
|
-
|
|
385
|
+
10181,
|
|
386
386
|
"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."
|
|
387
387
|
))
|
|
388
388
|
},
|
|
@@ -390,7 +390,7 @@ configurationRegistry.registerConfiguration({
|
|
|
390
390
|
type: 'number',
|
|
391
391
|
default: 300,
|
|
392
392
|
markdownDescription: ( localize(
|
|
393
|
-
|
|
393
|
+
10182,
|
|
394
394
|
"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.",
|
|
395
395
|
'`#search.searchOnType#`'
|
|
396
396
|
))
|
|
@@ -400,30 +400,30 @@ configurationRegistry.registerConfiguration({
|
|
|
400
400
|
enum: ['selectWord', 'goToLocation', 'openLocationToSide'],
|
|
401
401
|
default: 'goToLocation',
|
|
402
402
|
enumDescriptions: [
|
|
403
|
-
( localize(
|
|
404
|
-
( localize(
|
|
403
|
+
( localize(10183, "Double-clicking selects the word under the cursor.")),
|
|
404
|
+
( localize(10184, "Double-clicking opens the result in the active editor group.")),
|
|
405
405
|
( localize(
|
|
406
|
-
|
|
406
|
+
10185,
|
|
407
407
|
"Double-clicking opens the result in the editor group to the side, creating one if it does not yet exist."
|
|
408
408
|
)),
|
|
409
409
|
],
|
|
410
|
-
markdownDescription: ( localize(
|
|
410
|
+
markdownDescription: ( localize(10186, "Configure effect of double-clicking a result in a search editor."))
|
|
411
411
|
},
|
|
412
412
|
'search.searchEditor.singleClickBehaviour': {
|
|
413
413
|
type: 'string',
|
|
414
414
|
enum: ['default', 'peekDefinition',],
|
|
415
415
|
default: 'default',
|
|
416
416
|
enumDescriptions: [
|
|
417
|
-
( localize(
|
|
418
|
-
( localize(
|
|
417
|
+
( localize(10187, "Single-clicking does nothing.")),
|
|
418
|
+
( localize(10188, "Single-clicking opens a Peek Definition window.")),
|
|
419
419
|
],
|
|
420
|
-
markdownDescription: ( localize(
|
|
420
|
+
markdownDescription: ( localize(10189, "Configure effect of single-clicking a result in a search editor."))
|
|
421
421
|
},
|
|
422
422
|
'search.searchEditor.reusePriorSearchConfiguration': {
|
|
423
423
|
type: 'boolean',
|
|
424
424
|
default: false,
|
|
425
425
|
markdownDescription: ( localize(
|
|
426
|
-
|
|
426
|
+
10190,
|
|
427
427
|
"When enabled, new Search Editors will reuse the includes, excludes, and flags of the previously opened Search Editor."
|
|
428
428
|
))
|
|
429
429
|
},
|
|
@@ -431,7 +431,7 @@ configurationRegistry.registerConfiguration({
|
|
|
431
431
|
type: ['number', 'null'],
|
|
432
432
|
default: 1,
|
|
433
433
|
markdownDescription: ( localize(
|
|
434
|
-
|
|
434
|
+
10191,
|
|
435
435
|
"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."
|
|
436
436
|
))
|
|
437
437
|
},
|
|
@@ -439,7 +439,7 @@ configurationRegistry.registerConfiguration({
|
|
|
439
439
|
type: 'boolean',
|
|
440
440
|
default: false,
|
|
441
441
|
markdownDescription: ( localize(
|
|
442
|
-
|
|
442
|
+
10192,
|
|
443
443
|
"When a search is triggered, focus the Search Editor results instead of the Search Editor input."
|
|
444
444
|
))
|
|
445
445
|
},
|
|
@@ -449,31 +449,31 @@ configurationRegistry.registerConfiguration({
|
|
|
449
449
|
default: SearchSortOrder.Default,
|
|
450
450
|
enumDescriptions: [
|
|
451
451
|
( localize(
|
|
452
|
-
|
|
452
|
+
10193,
|
|
453
453
|
"Results are sorted by folder and file names, in alphabetical order."
|
|
454
454
|
)),
|
|
455
455
|
( localize(
|
|
456
|
-
|
|
456
|
+
10194,
|
|
457
457
|
"Results are sorted by file names ignoring folder order, in alphabetical order."
|
|
458
458
|
)),
|
|
459
|
-
( localize(
|
|
459
|
+
( localize(10195, "Results are sorted by file extensions, in alphabetical order.")),
|
|
460
460
|
( localize(
|
|
461
|
-
|
|
461
|
+
10196,
|
|
462
462
|
"Results are sorted by file last modified date, in descending order."
|
|
463
463
|
)),
|
|
464
|
-
( localize(
|
|
465
|
-
( localize(
|
|
464
|
+
( localize(10197, "Results are sorted by count per file, in descending order.")),
|
|
465
|
+
( localize(10198, "Results are sorted by count per file, in ascending order."))
|
|
466
466
|
],
|
|
467
|
-
description: ( localize(
|
|
467
|
+
description: ( localize(10199, "Controls sorting order of search results."))
|
|
468
468
|
},
|
|
469
469
|
'search.decorations.colors': {
|
|
470
470
|
type: 'boolean',
|
|
471
|
-
description: ( localize(
|
|
471
|
+
description: ( localize(10200, "Controls whether search file decorations should use colors.")),
|
|
472
472
|
default: true
|
|
473
473
|
},
|
|
474
474
|
'search.decorations.badges': {
|
|
475
475
|
type: 'boolean',
|
|
476
|
-
description: ( localize(
|
|
476
|
+
description: ( localize(10201, "Controls whether search file decorations should use badges.")),
|
|
477
477
|
default: true
|
|
478
478
|
},
|
|
479
479
|
'search.defaultViewMode': {
|
|
@@ -481,15 +481,15 @@ configurationRegistry.registerConfiguration({
|
|
|
481
481
|
enum: [ViewMode.Tree, ViewMode.List],
|
|
482
482
|
default: ViewMode.List,
|
|
483
483
|
enumDescriptions: [
|
|
484
|
-
( localize(
|
|
485
|
-
( localize(
|
|
484
|
+
( localize(10202, "Shows search results as a tree.")),
|
|
485
|
+
( localize(10203, "Shows search results as a list."))
|
|
486
486
|
],
|
|
487
|
-
description: ( localize(
|
|
487
|
+
description: ( localize(10204, "Controls the default search result view mode."))
|
|
488
488
|
},
|
|
489
489
|
'search.quickAccess.preserveInput': {
|
|
490
490
|
type: 'boolean',
|
|
491
491
|
description: ( localize(
|
|
492
|
-
|
|
492
|
+
10205,
|
|
493
493
|
"Controls whether the last typed input to Quick Search should be restored when opening it the next time."
|
|
494
494
|
)),
|
|
495
495
|
default: false
|
|
@@ -497,7 +497,7 @@ configurationRegistry.registerConfiguration({
|
|
|
497
497
|
'search.experimental.closedNotebookRichContentResults': {
|
|
498
498
|
type: 'boolean',
|
|
499
499
|
description: ( localize(
|
|
500
|
-
|
|
500
|
+
10206,
|
|
501
501
|
"Show notebook editor rich content results for closed notebooks. Please refresh your search results after changing this setting."
|
|
502
502
|
)),
|
|
503
503
|
default: false
|
|
@@ -505,24 +505,24 @@ configurationRegistry.registerConfiguration({
|
|
|
505
505
|
'search.searchView.semanticSearchBehavior': {
|
|
506
506
|
type: 'string',
|
|
507
507
|
description: ( localize(
|
|
508
|
-
|
|
508
|
+
10207,
|
|
509
509
|
"Controls the behavior of the semantic search results displayed in the Search view."
|
|
510
510
|
)),
|
|
511
511
|
enum: [SemanticSearchBehavior.Manual, SemanticSearchBehavior.RunOnEmpty, SemanticSearchBehavior.Auto],
|
|
512
512
|
default: SemanticSearchBehavior.Manual,
|
|
513
513
|
enumDescriptions: [
|
|
514
|
-
( localize(
|
|
514
|
+
( localize(10208, "Only request semantic search results manually.")),
|
|
515
515
|
( localize(
|
|
516
|
-
|
|
516
|
+
10209,
|
|
517
517
|
"Request semantic results automatically only when text search results are empty."
|
|
518
518
|
)),
|
|
519
|
-
( localize(
|
|
519
|
+
( localize(10210, "Request semantic results automatically with every search."))
|
|
520
520
|
],
|
|
521
521
|
tags: ['preview'],
|
|
522
522
|
},
|
|
523
523
|
'search.searchView.keywordSuggestions': {
|
|
524
524
|
type: 'boolean',
|
|
525
|
-
description: ( localize(
|
|
525
|
+
description: ( localize(10211, "Enable keyword suggestions in the Search view.")),
|
|
526
526
|
default: false,
|
|
527
527
|
tags: ['preview'],
|
|
528
528
|
},
|
|
@@ -16,7 +16,7 @@ registerAction2(class CopyMatchCommandAction extends Action2 {
|
|
|
16
16
|
constructor() {
|
|
17
17
|
super({
|
|
18
18
|
id: SearchCommandIds.CopyMatchCommandId,
|
|
19
|
-
title: ( localize2(
|
|
19
|
+
title: ( localize2(10213, "Copy")),
|
|
20
20
|
category,
|
|
21
21
|
keybinding: {
|
|
22
22
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -39,7 +39,7 @@ registerAction2(class CopyPathCommandAction extends Action2 {
|
|
|
39
39
|
constructor() {
|
|
40
40
|
super({
|
|
41
41
|
id: SearchCommandIds.CopyPathCommandId,
|
|
42
|
-
title: ( localize2(
|
|
42
|
+
title: ( localize2(10214, "Copy Path")),
|
|
43
43
|
category,
|
|
44
44
|
keybinding: {
|
|
45
45
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -65,7 +65,7 @@ registerAction2(class CopyAllCommandAction extends Action2 {
|
|
|
65
65
|
constructor() {
|
|
66
66
|
super({
|
|
67
67
|
id: SearchCommandIds.CopyAllCommandId,
|
|
68
|
-
title: ( localize2(
|
|
68
|
+
title: ( localize2(10215, "Copy All")),
|
|
69
69
|
category,
|
|
70
70
|
menu: [{
|
|
71
71
|
id: MenuId.SearchContext,
|
|
@@ -83,7 +83,7 @@ registerAction2(class GetSearchResultsAction extends Action2 {
|
|
|
83
83
|
constructor() {
|
|
84
84
|
super({
|
|
85
85
|
id: SearchCommandIds.GetSearchResultsActionId,
|
|
86
|
-
title: ( localize2(
|
|
86
|
+
title: ( localize2(10216, "Get Search Results")),
|
|
87
87
|
category,
|
|
88
88
|
f1: false
|
|
89
89
|
});
|
|
@@ -23,7 +23,7 @@ registerAction2(class ToggleQueryDetailsAction extends Action2 {
|
|
|
23
23
|
constructor() {
|
|
24
24
|
super({
|
|
25
25
|
id: SearchCommandIds.ToggleQueryDetailsActionId,
|
|
26
|
-
title: ( localize2(
|
|
26
|
+
title: ( localize2(10229, "Toggle Query Details")),
|
|
27
27
|
category,
|
|
28
28
|
keybinding: {
|
|
29
29
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -50,7 +50,7 @@ registerAction2(class CloseReplaceAction extends Action2 {
|
|
|
50
50
|
constructor() {
|
|
51
51
|
super({
|
|
52
52
|
id: SearchCommandIds.CloseReplaceWidgetActionId,
|
|
53
|
-
title: ( localize2(
|
|
53
|
+
title: ( localize2(10230, "Close Replace Widget")),
|
|
54
54
|
category,
|
|
55
55
|
keybinding: {
|
|
56
56
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -75,7 +75,7 @@ registerAction2(class ToggleCaseSensitiveCommandAction extends Action2 {
|
|
|
75
75
|
constructor() {
|
|
76
76
|
super({
|
|
77
77
|
id: SearchCommandIds.ToggleCaseSensitiveCommandId,
|
|
78
|
-
title: ( localize2(
|
|
78
|
+
title: ( localize2(10231, "Toggle Case Sensitive")),
|
|
79
79
|
category,
|
|
80
80
|
keybinding: Object.assign({
|
|
81
81
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -91,7 +91,7 @@ registerAction2(class ToggleWholeWordCommandAction extends Action2 {
|
|
|
91
91
|
constructor() {
|
|
92
92
|
super({
|
|
93
93
|
id: SearchCommandIds.ToggleWholeWordCommandId,
|
|
94
|
-
title: ( localize2(
|
|
94
|
+
title: ( localize2(10232, "Toggle Whole Word")),
|
|
95
95
|
keybinding: Object.assign({
|
|
96
96
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
97
97
|
when: SearchContext.SearchViewFocusedKey,
|
|
@@ -107,7 +107,7 @@ registerAction2(class ToggleRegexCommandAction extends Action2 {
|
|
|
107
107
|
constructor() {
|
|
108
108
|
super({
|
|
109
109
|
id: SearchCommandIds.ToggleRegexCommandId,
|
|
110
|
-
title: ( localize2(
|
|
110
|
+
title: ( localize2(10233, "Toggle Regex")),
|
|
111
111
|
keybinding: Object.assign({
|
|
112
112
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
113
113
|
when: SearchContext.SearchViewFocusedKey,
|
|
@@ -123,7 +123,7 @@ registerAction2(class TogglePreserveCaseAction extends Action2 {
|
|
|
123
123
|
constructor() {
|
|
124
124
|
super({
|
|
125
125
|
id: SearchCommandIds.TogglePreserveCaseId,
|
|
126
|
-
title: ( localize2(
|
|
126
|
+
title: ( localize2(10234, "Toggle Preserve Case")),
|
|
127
127
|
keybinding: Object.assign({
|
|
128
128
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
129
129
|
when: SearchContext.SearchViewFocusedKey,
|
|
@@ -139,7 +139,7 @@ registerAction2(class OpenMatchAction extends Action2 {
|
|
|
139
139
|
constructor() {
|
|
140
140
|
super({
|
|
141
141
|
id: SearchCommandIds.OpenMatch,
|
|
142
|
-
title: ( localize2(
|
|
142
|
+
title: ( localize2(10235, "Open Match")),
|
|
143
143
|
category,
|
|
144
144
|
keybinding: {
|
|
145
145
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -174,7 +174,7 @@ registerAction2(class OpenMatchToSideAction extends Action2 {
|
|
|
174
174
|
constructor() {
|
|
175
175
|
super({
|
|
176
176
|
id: SearchCommandIds.OpenMatchToSide,
|
|
177
|
-
title: ( localize2(
|
|
177
|
+
title: ( localize2(10236, "Open Match To Side")),
|
|
178
178
|
category,
|
|
179
179
|
keybinding: {
|
|
180
180
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -201,7 +201,7 @@ registerAction2(class AddCursorsAtSearchResultsAction extends Action2 {
|
|
|
201
201
|
constructor() {
|
|
202
202
|
super({
|
|
203
203
|
id: SearchCommandIds.AddCursorsAtSearchResults,
|
|
204
|
-
title: ( localize2(
|
|
204
|
+
title: ( localize2(10237, "Add Cursors at Search Results")),
|
|
205
205
|
keybinding: {
|
|
206
206
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
207
207
|
when: ( ContextKeyExpr.and(
|
|
@@ -225,7 +225,7 @@ registerAction2(class FocusNextInputAction extends Action2 {
|
|
|
225
225
|
constructor() {
|
|
226
226
|
super({
|
|
227
227
|
id: SearchCommandIds.FocusNextInputActionId,
|
|
228
|
-
title: ( localize2(
|
|
228
|
+
title: ( localize2(10238, "Focus Next Input")),
|
|
229
229
|
category,
|
|
230
230
|
keybinding: {
|
|
231
231
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -254,7 +254,7 @@ registerAction2(class FocusPreviousInputAction extends Action2 {
|
|
|
254
254
|
constructor() {
|
|
255
255
|
super({
|
|
256
256
|
id: SearchCommandIds.FocusPreviousInputActionId,
|
|
257
|
-
title: ( localize2(
|
|
257
|
+
title: ( localize2(10239, "Focus Previous Input")),
|
|
258
258
|
category,
|
|
259
259
|
keybinding: {
|
|
260
260
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -284,7 +284,7 @@ registerAction2(class FocusSearchFromResultsAction extends Action2 {
|
|
|
284
284
|
constructor() {
|
|
285
285
|
super({
|
|
286
286
|
id: SearchCommandIds.FocusSearchFromResults,
|
|
287
|
-
title: ( localize2(
|
|
287
|
+
title: ( localize2(10240, "Focus Search From Results")),
|
|
288
288
|
category,
|
|
289
289
|
keybinding: {
|
|
290
290
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -306,7 +306,7 @@ registerAction2(class ToggleSearchOnTypeAction extends Action2 {
|
|
|
306
306
|
constructor() {
|
|
307
307
|
super({
|
|
308
308
|
id: SearchCommandIds.ToggleSearchOnTypeActionId,
|
|
309
|
-
title: ( localize2(
|
|
309
|
+
title: ( localize2(10241, "Toggle Search on Type")),
|
|
310
310
|
category,
|
|
311
311
|
});
|
|
312
312
|
}
|
|
@@ -320,7 +320,7 @@ registerAction2(class FocusSearchListCommandAction extends Action2 {
|
|
|
320
320
|
constructor() {
|
|
321
321
|
super({
|
|
322
322
|
id: SearchCommandIds.FocusSearchListCommandID,
|
|
323
|
-
title: ( localize2(
|
|
323
|
+
title: ( localize2(10242, "Focus List")),
|
|
324
324
|
category,
|
|
325
325
|
f1: true
|
|
326
326
|
});
|
|
@@ -333,7 +333,7 @@ registerAction2(class FocusNextSearchResultAction extends Action2 {
|
|
|
333
333
|
constructor() {
|
|
334
334
|
super({
|
|
335
335
|
id: SearchCommandIds.FocusNextSearchResultActionId,
|
|
336
|
-
title: ( localize2(
|
|
336
|
+
title: ( localize2(10243, "Focus Next Search Result")),
|
|
337
337
|
keybinding: [{
|
|
338
338
|
primary: KeyCode.F4,
|
|
339
339
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -354,7 +354,7 @@ registerAction2(class FocusPreviousSearchResultAction extends Action2 {
|
|
|
354
354
|
constructor() {
|
|
355
355
|
super({
|
|
356
356
|
id: SearchCommandIds.FocusPreviousSearchResultActionId,
|
|
357
|
-
title: ( localize2(
|
|
357
|
+
title: ( localize2(10244, "Focus Previous Search Result")),
|
|
358
358
|
keybinding: [{
|
|
359
359
|
primary: KeyMod.Shift | KeyCode.F4,
|
|
360
360
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -375,7 +375,7 @@ registerAction2(class ReplaceInFilesAction extends Action2 {
|
|
|
375
375
|
constructor() {
|
|
376
376
|
super({
|
|
377
377
|
id: SearchCommandIds.ReplaceInFilesActionId,
|
|
378
|
-
title: ( localize2(
|
|
378
|
+
title: ( localize2(10245, "Replace in Files")),
|
|
379
379
|
keybinding: [{
|
|
380
380
|
primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyH,
|
|
381
381
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -22,7 +22,7 @@ registerAction2(class RemoveAction extends Action2 {
|
|
|
22
22
|
constructor() {
|
|
23
23
|
super({
|
|
24
24
|
id: SearchCommandIds.RemoveActionId,
|
|
25
|
-
title: ( localize2(
|
|
25
|
+
title: ( localize2(10246, "Dismiss")),
|
|
26
26
|
category,
|
|
27
27
|
icon: searchRemoveIcon,
|
|
28
28
|
keybinding: {
|
|
@@ -109,7 +109,7 @@ registerAction2(class ReplaceAction extends Action2 {
|
|
|
109
109
|
constructor() {
|
|
110
110
|
super({
|
|
111
111
|
id: SearchCommandIds.ReplaceActionId,
|
|
112
|
-
title: ( localize2(
|
|
112
|
+
title: ( localize2(10247, "Replace")),
|
|
113
113
|
category,
|
|
114
114
|
keybinding: {
|
|
115
115
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -154,7 +154,7 @@ registerAction2(class ReplaceAllAction extends Action2 {
|
|
|
154
154
|
constructor() {
|
|
155
155
|
super({
|
|
156
156
|
id: SearchCommandIds.ReplaceAllInFileActionId,
|
|
157
|
-
title: ( localize2(
|
|
157
|
+
title: ( localize2(10248, "Replace All")),
|
|
158
158
|
category,
|
|
159
159
|
keybinding: {
|
|
160
160
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -200,7 +200,7 @@ registerAction2(class ReplaceAllInFolderAction extends Action2 {
|
|
|
200
200
|
constructor() {
|
|
201
201
|
super({
|
|
202
202
|
id: SearchCommandIds.ReplaceAllInFolderActionId,
|
|
203
|
-
title: ( localize2(
|
|
203
|
+
title: ( localize2(10248, "Replace All")),
|
|
204
204
|
category,
|
|
205
205
|
keybinding: {
|
|
206
206
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -8,14 +8,14 @@ import { IQuickInputService } from '@codingame/monaco-vscode-api/vscode/vs/platf
|
|
|
8
8
|
|
|
9
9
|
registerAction2(class ShowAllSymbolsAction extends Action2 {
|
|
10
10
|
static { this.ID = 'workbench.action.showAllSymbols'; }
|
|
11
|
-
static { this.LABEL = ( localize(
|
|
11
|
+
static { this.LABEL = ( localize(10249, "Go to Symbol in Workspace...")); }
|
|
12
12
|
static { this.ALL_SYMBOLS_PREFIX = '#'; }
|
|
13
13
|
constructor() {
|
|
14
14
|
super({
|
|
15
15
|
id: SearchCommandIds.ShowAllSymbolsActionId,
|
|
16
16
|
title: {
|
|
17
|
-
...( localize2(
|
|
18
|
-
mnemonicTitle: ( localize(
|
|
17
|
+
...( localize2(10249, "Go to Symbol in Workspace...")),
|
|
18
|
+
mnemonicTitle: ( localize(10250, "Go to Symbol in &&Workspace...")),
|
|
19
19
|
},
|
|
20
20
|
f1: true,
|
|
21
21
|
keybinding: {
|
|
@@ -13,7 +13,7 @@ registerAction2(class TextSearchQuickAccessAction extends Action2 {
|
|
|
13
13
|
constructor() {
|
|
14
14
|
super({
|
|
15
15
|
id: SearchCommandIds.QuickTextSearchActionId,
|
|
16
|
-
title: ( localize2(
|
|
16
|
+
title: ( localize2(10251, "Quick Search")),
|
|
17
17
|
category,
|
|
18
18
|
f1: true
|
|
19
19
|
});
|
|
@@ -46,7 +46,7 @@ const DecreaseSearchEditorContextLinesCommandId = 'decreaseSearchEditorContextLi
|
|
|
46
46
|
const RerunSearchEditorSearchCommandId = 'rerunSearchEditorSearch';
|
|
47
47
|
const CleanSearchEditorStateCommandId = 'cleanSearchEditorState';
|
|
48
48
|
const SelectAllSearchEditorMatchesCommandId = 'selectAllSearchEditorMatches';
|
|
49
|
-
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(SearchEditor, SearchEditor.ID, ( localize(
|
|
49
|
+
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(SearchEditor, SearchEditor.ID, ( localize(10369, "Search Editor"))), [
|
|
50
50
|
( new SyncDescriptor(SearchEditorInput))
|
|
51
51
|
]);
|
|
52
52
|
let SearchEditorContribution = class SearchEditorContribution {
|
|
@@ -54,7 +54,7 @@ let SearchEditorContribution = class SearchEditorContribution {
|
|
|
54
54
|
constructor(editorResolverService, instantiationService) {
|
|
55
55
|
editorResolverService.registerEditor('*' + SEARCH_EDITOR_EXT, {
|
|
56
56
|
id: SearchEditorInput.ID,
|
|
57
|
-
label: ( localize(
|
|
57
|
+
label: ( localize(10370, "Search Editor")),
|
|
58
58
|
detail: DEFAULT_EDITOR_ASSOCIATION.providerDisplayName,
|
|
59
59
|
priority: RegisteredEditorPriority.default,
|
|
60
60
|
}, {
|
|
@@ -121,7 +121,7 @@ CommandsRegistry.registerCommand(CleanSearchEditorStateCommandId, (accessor) =>
|
|
|
121
121
|
activeEditorPane.cleanState();
|
|
122
122
|
}
|
|
123
123
|
});
|
|
124
|
-
const category = ( localize2(
|
|
124
|
+
const category = ( localize2(10371, 'Search Editor'));
|
|
125
125
|
const translateLegacyConfig = (legacyConfig = {}) => {
|
|
126
126
|
const config = {};
|
|
127
127
|
const overrides = {
|
|
@@ -163,7 +163,7 @@ registerAction2(class extends Action2 {
|
|
|
163
163
|
constructor() {
|
|
164
164
|
super({
|
|
165
165
|
id: 'search.searchEditor.action.deleteFileResults',
|
|
166
|
-
title: ( localize2(
|
|
166
|
+
title: ( localize2(10372, 'Delete File Results')),
|
|
167
167
|
keybinding: {
|
|
168
168
|
weight: KeybindingWeight.EditorContrib,
|
|
169
169
|
primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.Backspace,
|
|
@@ -184,7 +184,7 @@ registerAction2(class extends Action2 {
|
|
|
184
184
|
constructor() {
|
|
185
185
|
super({
|
|
186
186
|
id: OpenNewEditorCommandId,
|
|
187
|
-
title: ( localize2(
|
|
187
|
+
title: ( localize2(10373, 'New Search Editor')),
|
|
188
188
|
category,
|
|
189
189
|
f1: true,
|
|
190
190
|
metadata: openArgMetadata
|
|
@@ -198,7 +198,7 @@ registerAction2(class extends Action2 {
|
|
|
198
198
|
constructor() {
|
|
199
199
|
super({
|
|
200
200
|
id: OpenEditorCommandId,
|
|
201
|
-
title: ( localize2(
|
|
201
|
+
title: ( localize2(10374, 'Open Search Editor')),
|
|
202
202
|
category,
|
|
203
203
|
f1: true,
|
|
204
204
|
metadata: openArgMetadata
|
|
@@ -212,7 +212,7 @@ registerAction2(class extends Action2 {
|
|
|
212
212
|
constructor() {
|
|
213
213
|
super({
|
|
214
214
|
id: OpenNewEditorToSideCommandId,
|
|
215
|
-
title: ( localize2(
|
|
215
|
+
title: ( localize2(10375, 'Open New Search Editor to the Side')),
|
|
216
216
|
category,
|
|
217
217
|
f1: true,
|
|
218
218
|
metadata: openArgMetadata
|
|
@@ -226,7 +226,7 @@ registerAction2(class extends Action2 {
|
|
|
226
226
|
constructor() {
|
|
227
227
|
super({
|
|
228
228
|
id: OpenInEditorCommandId,
|
|
229
|
-
title: ( localize2(
|
|
229
|
+
title: ( localize2(10376, 'Open Results in Editor')),
|
|
230
230
|
category,
|
|
231
231
|
f1: true,
|
|
232
232
|
keybinding: {
|
|
@@ -255,7 +255,7 @@ registerAction2(class extends Action2 {
|
|
|
255
255
|
constructor() {
|
|
256
256
|
super({
|
|
257
257
|
id: RerunSearchEditorSearchCommandId,
|
|
258
|
-
title: ( localize2(
|
|
258
|
+
title: ( localize2(10377, 'Search Again')),
|
|
259
259
|
category,
|
|
260
260
|
keybinding: {
|
|
261
261
|
primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyR,
|
|
@@ -286,7 +286,7 @@ registerAction2(class extends Action2 {
|
|
|
286
286
|
constructor() {
|
|
287
287
|
super({
|
|
288
288
|
id: FocusQueryEditorWidgetCommandId,
|
|
289
|
-
title: ( localize2(
|
|
289
|
+
title: ( localize2(10378, 'Focus Search Editor Input')),
|
|
290
290
|
category,
|
|
291
291
|
f1: true,
|
|
292
292
|
precondition: InSearchEditor,
|
|
@@ -308,7 +308,7 @@ registerAction2(class extends Action2 {
|
|
|
308
308
|
constructor() {
|
|
309
309
|
super({
|
|
310
310
|
id: FocusQueryEditorFilesToIncludeCommandId,
|
|
311
|
-
title: ( localize2(
|
|
311
|
+
title: ( localize2(10379, 'Focus Search Editor Files to Include')),
|
|
312
312
|
category,
|
|
313
313
|
f1: true,
|
|
314
314
|
precondition: InSearchEditor,
|
|
@@ -326,7 +326,7 @@ registerAction2(class extends Action2 {
|
|
|
326
326
|
constructor() {
|
|
327
327
|
super({
|
|
328
328
|
id: FocusQueryEditorFilesToExcludeCommandId,
|
|
329
|
-
title: ( localize2(
|
|
329
|
+
title: ( localize2(10380, 'Focus Search Editor Files to Exclude')),
|
|
330
330
|
category,
|
|
331
331
|
f1: true,
|
|
332
332
|
precondition: InSearchEditor,
|
|
@@ -344,7 +344,7 @@ registerAction2(class extends Action2 {
|
|
|
344
344
|
constructor() {
|
|
345
345
|
super({
|
|
346
346
|
id: ToggleSearchEditorCaseSensitiveCommandId,
|
|
347
|
-
title: ( localize2(
|
|
347
|
+
title: ( localize2(10381, 'Toggle Match Case')),
|
|
348
348
|
category,
|
|
349
349
|
f1: true,
|
|
350
350
|
precondition: InSearchEditor,
|
|
@@ -362,7 +362,7 @@ registerAction2(class extends Action2 {
|
|
|
362
362
|
constructor() {
|
|
363
363
|
super({
|
|
364
364
|
id: ToggleSearchEditorWholeWordCommandId,
|
|
365
|
-
title: ( localize2(
|
|
365
|
+
title: ( localize2(10382, 'Toggle Match Whole Word')),
|
|
366
366
|
category,
|
|
367
367
|
f1: true,
|
|
368
368
|
precondition: InSearchEditor,
|
|
@@ -380,7 +380,7 @@ registerAction2(class extends Action2 {
|
|
|
380
380
|
constructor() {
|
|
381
381
|
super({
|
|
382
382
|
id: ToggleSearchEditorRegexCommandId,
|
|
383
|
-
title: ( localize2(
|
|
383
|
+
title: ( localize2(10383, "Toggle Use Regular Expression")),
|
|
384
384
|
category,
|
|
385
385
|
f1: true,
|
|
386
386
|
precondition: InSearchEditor,
|
|
@@ -398,7 +398,7 @@ registerAction2(class extends Action2 {
|
|
|
398
398
|
constructor() {
|
|
399
399
|
super({
|
|
400
400
|
id: ToggleSearchEditorContextLinesCommandId,
|
|
401
|
-
title: ( localize2(
|
|
401
|
+
title: ( localize2(10384, "Toggle Context Lines")),
|
|
402
402
|
category,
|
|
403
403
|
f1: true,
|
|
404
404
|
precondition: InSearchEditor,
|
|
@@ -417,7 +417,7 @@ registerAction2(class extends Action2 {
|
|
|
417
417
|
constructor() {
|
|
418
418
|
super({
|
|
419
419
|
id: IncreaseSearchEditorContextLinesCommandId,
|
|
420
|
-
title: ( localize2(
|
|
420
|
+
title: ( localize2(10385, "Increase Context Lines")),
|
|
421
421
|
category,
|
|
422
422
|
f1: true,
|
|
423
423
|
precondition: InSearchEditor,
|
|
@@ -433,7 +433,7 @@ registerAction2(class extends Action2 {
|
|
|
433
433
|
constructor() {
|
|
434
434
|
super({
|
|
435
435
|
id: DecreaseSearchEditorContextLinesCommandId,
|
|
436
|
-
title: ( localize2(
|
|
436
|
+
title: ( localize2(10386, "Decrease Context Lines")),
|
|
437
437
|
category,
|
|
438
438
|
f1: true,
|
|
439
439
|
precondition: InSearchEditor,
|
|
@@ -449,7 +449,7 @@ registerAction2(class extends Action2 {
|
|
|
449
449
|
constructor() {
|
|
450
450
|
super({
|
|
451
451
|
id: SelectAllSearchEditorMatchesCommandId,
|
|
452
|
-
title: ( localize2(
|
|
452
|
+
title: ( localize2(10387, "Select All Matches")),
|
|
453
453
|
category,
|
|
454
454
|
f1: true,
|
|
455
455
|
precondition: InSearchEditor,
|
|
@@ -467,7 +467,7 @@ registerAction2(class OpenSearchEditorAction extends Action2 {
|
|
|
467
467
|
constructor() {
|
|
468
468
|
super({
|
|
469
469
|
id: 'search.action.openNewEditorFromView',
|
|
470
|
-
title: ( localize(
|
|
470
|
+
title: ( localize(10388, "Open New Search Editor")),
|
|
471
471
|
category,
|
|
472
472
|
icon: searchNewEditorIcon,
|
|
473
473
|
menu: [{
|
|
@@ -122,7 +122,7 @@ let SearchEditor = class SearchEditor extends AbstractTextCodeEditor {
|
|
|
122
122
|
}
|
|
123
123
|
this._register(this.queryEditorWidget.onDidToggleContext(() => this.triggerSearch({ resetCursor: false })));
|
|
124
124
|
this.includesExcludesContainer = append(container, $('.includes-excludes'));
|
|
125
|
-
const toggleQueryDetailsLabel = ( localize(
|
|
125
|
+
const toggleQueryDetailsLabel = ( localize(10389, "Toggle Search Details"));
|
|
126
126
|
this.toggleQueryDetailsButton = append(this.includesExcludesContainer, $('.expand' + ThemeIcon.asCSSSelector(searchDetailsIcon), { tabindex: 0, role: 'button', 'aria-label': toggleQueryDetailsLabel }));
|
|
127
127
|
this._register(this.hoverService.setupManagedHover(getDefaultHoverDelegate('element'), this.toggleQueryDetailsButton, toggleQueryDetailsLabel));
|
|
128
128
|
this._register(addDisposableListener(this.toggleQueryDetailsButton, EventType.CLICK, e => {
|
|
@@ -149,19 +149,19 @@ let SearchEditor = class SearchEditor extends AbstractTextCodeEditor {
|
|
|
149
149
|
}
|
|
150
150
|
}));
|
|
151
151
|
const folderIncludesList = append(this.includesExcludesContainer, $('.file-types.includes'));
|
|
152
|
-
const filesToIncludeTitle = ( localize(
|
|
152
|
+
const filesToIncludeTitle = ( localize(10390, "files to include"));
|
|
153
153
|
append(folderIncludesList, $('h4', undefined, filesToIncludeTitle));
|
|
154
154
|
this.inputPatternIncludes = this._register(scopedInstantiationService.createInstance(IncludePatternInputWidget, folderIncludesList, this.contextViewService, {
|
|
155
|
-
ariaLabel: ( localize(
|
|
155
|
+
ariaLabel: ( localize(10391, 'Search Include Patterns')),
|
|
156
156
|
inputBoxStyles: searchEditorInputboxStyles
|
|
157
157
|
}));
|
|
158
158
|
this._register(this.inputPatternIncludes.onSubmit(triggeredOnType => this.triggerSearch({ resetCursor: false, delay: triggeredOnType ? this.searchConfig.searchOnTypeDebouncePeriod : 0 })));
|
|
159
159
|
this._register(this.inputPatternIncludes.onChangeSearchInEditorsBox(() => this.triggerSearch()));
|
|
160
160
|
const excludesList = append(this.includesExcludesContainer, $('.file-types.excludes'));
|
|
161
|
-
const excludesTitle = ( localize(
|
|
161
|
+
const excludesTitle = ( localize(10392, "files to exclude"));
|
|
162
162
|
append(excludesList, $('h4', undefined, excludesTitle));
|
|
163
163
|
this.inputPatternExcludes = this._register(scopedInstantiationService.createInstance(ExcludePatternInputWidget, excludesList, this.contextViewService, {
|
|
164
|
-
ariaLabel: ( localize(
|
|
164
|
+
ariaLabel: ( localize(10393, 'Search Exclude Patterns')),
|
|
165
165
|
inputBoxStyles: searchEditorInputboxStyles
|
|
166
166
|
}));
|
|
167
167
|
this._register(this.inputPatternExcludes.onSubmit(triggeredOnType => this.triggerSearch({ resetCursor: false, delay: triggeredOnType ? this.searchConfig.searchOnTypeDebouncePeriod : 0 })));
|
|
@@ -180,7 +180,7 @@ let SearchEditor = class SearchEditor extends AbstractTextCodeEditor {
|
|
|
180
180
|
clearNode(this.messageBox);
|
|
181
181
|
this.messageDisposables.clear();
|
|
182
182
|
if (show) {
|
|
183
|
-
const runAgainLink = append(this.messageBox, $('a.pointer.prominent.message', {}, ( localize(
|
|
183
|
+
const runAgainLink = append(this.messageBox, $('a.pointer.prominent.message', {}, ( localize(10394, "Run Search"))));
|
|
184
184
|
this.messageDisposables.add(addDisposableListener(runAgainLink, EventType.CLICK, async () => {
|
|
185
185
|
await this.triggerSearch();
|
|
186
186
|
this.searchResultEditor.focus();
|
|
@@ -394,7 +394,7 @@ let SearchEditor = class SearchEditor extends AbstractTextCodeEditor {
|
|
|
394
394
|
}
|
|
395
395
|
}
|
|
396
396
|
alert(( localize(
|
|
397
|
-
|
|
397
|
+
10395,
|
|
398
398
|
"Matched {0} at {1} in file {2}",
|
|
399
399
|
matchText,
|
|
400
400
|
matchLineText,
|
|
@@ -701,7 +701,7 @@ let SearchEditor = class SearchEditor extends AbstractTextCodeEditor {
|
|
|
701
701
|
}
|
|
702
702
|
}
|
|
703
703
|
getAriaLabel() {
|
|
704
|
-
return this.getInput()?.getName() ?? ( localize(
|
|
704
|
+
return this.getInput()?.getName() ?? ( localize(10396, "Search"));
|
|
705
705
|
}
|
|
706
706
|
};
|
|
707
707
|
SearchEditor = SearchEditor_1 = ( __decorate([
|
|
@@ -725,7 +725,7 @@ SearchEditor = SearchEditor_1 = ( __decorate([
|
|
|
725
725
|
( __param(18, ILogService)),
|
|
726
726
|
( __param(19, IHoverService))
|
|
727
727
|
], SearchEditor));
|
|
728
|
-
const searchEditorTextInputBorder = registerColor('searchEditor.textInputBorder', inputBorder, ( localize(
|
|
728
|
+
const searchEditorTextInputBorder = registerColor('searchEditor.textInputBorder', inputBorder, ( localize(10397, "Search editor text input box border.")));
|
|
729
729
|
function findNextRange(matchRanges, currentPosition) {
|
|
730
730
|
for (const matchRange of matchRanges) {
|
|
731
731
|
if (Position.isBefore(currentPosition, matchRange.getStartPosition())) {
|
|
@@ -83,7 +83,7 @@ let LocalFileSearchWorkerClient = class LocalFileSearchWorkerClient extends Disp
|
|
|
83
83
|
return {
|
|
84
84
|
results: [],
|
|
85
85
|
messages: [{
|
|
86
|
-
text: ( localize(
|
|
86
|
+
text: ( localize(13595, "Unable to search with Web Worker text searcher")), type: TextSearchCompleteMessageType.Warning
|
|
87
87
|
}],
|
|
88
88
|
};
|
|
89
89
|
}
|
|
@@ -120,7 +120,7 @@ let LocalFileSearchWorkerClient = class LocalFileSearchWorkerClient extends Disp
|
|
|
120
120
|
return {
|
|
121
121
|
results: [],
|
|
122
122
|
messages: [{
|
|
123
|
-
text: ( localize(
|
|
123
|
+
text: ( localize(13596, "Unable to search with Web Worker file searcher")), type: TextSearchCompleteMessageType.Warning
|
|
124
124
|
}],
|
|
125
125
|
};
|
|
126
126
|
}
|