@codingame/monaco-vscode-search-service-override 32.0.2 → 33.0.9
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 +3 -3
- 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.common.contribution.js +23 -0
- package/vscode/src/vs/workbench/contrib/search/browser/search.contribution.js +70 -78
- package/vscode/src/vs/workbench/contrib/search/browser/searchAccessibilityHelp.js +55 -55
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsCopy.js +4 -4
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.js +12 -12
- 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/search/browser/searchQuickAccess.contribution.js +4 -4
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditor.contribution.js +30 -32
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditor.js +9 -9
- package/vscode/src/vs/workbench/services/search/browser/searchService.js +2 -2
|
@@ -44,154 +44,154 @@ class SearchAccessibilityHelpProvider extends Disposable {
|
|
|
44
44
|
const content = [];
|
|
45
45
|
const resultCount = this._searchModel.searchResult.count();
|
|
46
46
|
const isReplaceMode = this._searchModel.replaceActive;
|
|
47
|
-
content.push(( localize(
|
|
47
|
+
content.push(( localize(13094, "Accessibility Help: Search Across Files")));
|
|
48
48
|
content.push(( localize(
|
|
49
|
-
|
|
49
|
+
13095,
|
|
50
50
|
"You are in the Search view. This workspace-wide tool lets you find text or patterns across all files in your workspace."
|
|
51
51
|
)));
|
|
52
52
|
content.push("");
|
|
53
|
-
content.push(( localize(
|
|
54
|
-
content.push(( localize(
|
|
53
|
+
content.push(( localize(13096, "Current Search Status:")));
|
|
54
|
+
content.push(( localize(13097, "You are searching across your workspace.")));
|
|
55
55
|
if (resultCount !== undefined) {
|
|
56
56
|
if (resultCount === 0) {
|
|
57
|
-
content.push(( localize(
|
|
57
|
+
content.push(( localize(13098, "No results found. Check your search term or adjust options below.")));
|
|
58
58
|
} else {
|
|
59
|
-
content.push(( localize(
|
|
59
|
+
content.push(( localize(13099, "{0} results found.", resultCount)));
|
|
60
60
|
}
|
|
61
61
|
} else {
|
|
62
|
-
content.push(( localize(
|
|
62
|
+
content.push(( localize(13100, "Type a search term to find results.")));
|
|
63
63
|
}
|
|
64
64
|
content.push("");
|
|
65
|
-
content.push(( localize(
|
|
65
|
+
content.push(( localize(13101, "Inside the Search Input (What It Does):")));
|
|
66
66
|
content.push(( localize(
|
|
67
|
-
|
|
67
|
+
13102,
|
|
68
68
|
"While you are in the Search input, your focus stays in the field. You can type your search term and navigate the search results list without leaving the input. When you navigate to a result, the editor updates in the background to show the match."
|
|
69
69
|
)));
|
|
70
70
|
content.push("");
|
|
71
|
-
content.push(( localize(
|
|
72
|
-
content.push(( localize(
|
|
71
|
+
content.push(( localize(13103, "What You Hear Each Time You Move to a Result:")));
|
|
72
|
+
content.push(( localize(13104, "Each navigation step gives you a complete spoken update:")));
|
|
73
73
|
content.push(( localize(
|
|
74
|
-
|
|
74
|
+
13105,
|
|
75
75
|
"1) The file name where the result is located is read first, so you know which file contains the match."
|
|
76
76
|
)));
|
|
77
77
|
content.push(( localize(
|
|
78
|
-
|
|
78
|
+
13106,
|
|
79
79
|
"2) The full line that contains the match is read, so you get immediate context."
|
|
80
80
|
)));
|
|
81
81
|
content.push(( localize(
|
|
82
|
-
|
|
82
|
+
13107,
|
|
83
83
|
"3) Your position among the results is announced, so you know how far you are through the results."
|
|
84
84
|
)));
|
|
85
85
|
content.push(( localize(
|
|
86
|
-
|
|
86
|
+
13108,
|
|
87
87
|
"4) The exact line and column are announced, so you know precisely where the match is in the file."
|
|
88
88
|
)));
|
|
89
89
|
content.push("");
|
|
90
|
-
content.push(( localize(
|
|
90
|
+
content.push(( localize(13109, "Focus Behavior (Important):")));
|
|
91
91
|
content.push(( localize(
|
|
92
|
-
|
|
92
|
+
13110,
|
|
93
93
|
"When you navigate from the Search input, the editor updates while your focus stays in the search field. This is intentional, so you can keep refining your search without losing your place."
|
|
94
94
|
)));
|
|
95
95
|
content.push(( localize(
|
|
96
|
-
|
|
96
|
+
13111,
|
|
97
97
|
"If you press Tab, focus moves to the results tree below the input, and you can navigate results and open them. When you press Enter on a result, the match is shown in the editor."
|
|
98
98
|
)));
|
|
99
99
|
content.push(( localize(
|
|
100
|
-
|
|
100
|
+
13112,
|
|
101
101
|
"If you want to focus the editor to edit text at a search result, use {0} to navigate to the result and automatically focus the editor there.",
|
|
102
102
|
"<keybinding:search.action.focusNextSearchResult>"
|
|
103
103
|
)));
|
|
104
104
|
content.push("");
|
|
105
|
-
content.push(( localize(
|
|
105
|
+
content.push(( localize(13113, "Keyboard Navigation Summary:")));
|
|
106
106
|
content.push("");
|
|
107
|
-
content.push(( localize(
|
|
108
|
-
content.push(( localize(
|
|
109
|
-
content.push(( localize(
|
|
107
|
+
content.push(( localize(13114, "While focused IN the Search input:")));
|
|
108
|
+
content.push(( localize(13115, "- Enter: Run or refresh the search.")));
|
|
109
|
+
content.push(( localize(13116, "- Tab: Move focus to the results tree below.")));
|
|
110
110
|
content.push("");
|
|
111
|
-
content.push(( localize(
|
|
112
|
-
content.push(( localize(
|
|
111
|
+
content.push(( localize(13117, "Navigating search results:")));
|
|
112
|
+
content.push(( localize(13118, "- Down Arrow: Navigate through results in the tree.")));
|
|
113
113
|
content.push(( localize(
|
|
114
|
-
|
|
114
|
+
13119,
|
|
115
115
|
"- Enter (when a result is focused): Navigate to that result in the editor."
|
|
116
116
|
)));
|
|
117
117
|
content.push("");
|
|
118
|
-
content.push(( localize(
|
|
118
|
+
content.push(( localize(13120, "From anywhere (Search input or editor):")));
|
|
119
119
|
content.push(( localize(
|
|
120
|
-
|
|
120
|
+
13121,
|
|
121
121
|
"- {0}: Jump to the next result and focus the editor.",
|
|
122
122
|
"<keybinding:search.action.focusNextSearchResult>"
|
|
123
123
|
)));
|
|
124
124
|
content.push(( localize(
|
|
125
|
-
|
|
125
|
+
13122,
|
|
126
126
|
"- {0}: Jump to the previous result and focus the editor.",
|
|
127
127
|
"<keybinding:search.action.focusPreviousSearchResult>"
|
|
128
128
|
)));
|
|
129
129
|
content.push("");
|
|
130
|
-
content.push(( localize(
|
|
131
|
-
content.push(( localize(
|
|
132
|
-
content.push(( localize(
|
|
133
|
-
content.push(( localize(
|
|
130
|
+
content.push(( localize(13123, "Search Options in the Dialog:")));
|
|
131
|
+
content.push(( localize(13124, "- Match Case: Only exact case matches are included.")));
|
|
132
|
+
content.push(( localize(13125, "- Whole Word: Only full words are matched.")));
|
|
133
|
+
content.push(( localize(13126, "- Regular Expression: Use pattern matching for advanced searches.")));
|
|
134
134
|
content.push("");
|
|
135
135
|
if (isReplaceMode) {
|
|
136
|
-
content.push(( localize(
|
|
137
|
-
content.push(( localize(
|
|
138
|
-
content.push(( localize(
|
|
136
|
+
content.push(( localize(13127, "Replace Across Files (Replace Mode Active):")));
|
|
137
|
+
content.push(( localize(13128, "Tab to the Replace input and type your replacement text.")));
|
|
138
|
+
content.push(( localize(13129, "You can replace individual matches or all matches at once.")));
|
|
139
139
|
content.push(( localize(
|
|
140
|
-
|
|
140
|
+
13130,
|
|
141
141
|
"Warning: This action affects multiple files. Make sure you have searched for exactly what you want to replace."
|
|
142
142
|
)));
|
|
143
143
|
content.push("");
|
|
144
144
|
}
|
|
145
145
|
content.push(( localize(
|
|
146
|
-
|
|
146
|
+
13131,
|
|
147
147
|
"Settings You Can Adjust ({0} opens Settings):",
|
|
148
148
|
"<keybinding:workbench.action.openSettings>"
|
|
149
149
|
)));
|
|
150
|
-
content.push(( localize(
|
|
150
|
+
content.push(( localize(13132, "These settings affect how Search across files behaves.")));
|
|
151
151
|
content.push(( localize(
|
|
152
|
-
|
|
152
|
+
13133,
|
|
153
153
|
"- `accessibility.verbosity.find`: Controls whether the Search input announces the Accessibility Help hint."
|
|
154
154
|
)));
|
|
155
155
|
content.push(( localize(
|
|
156
|
-
|
|
156
|
+
13134,
|
|
157
157
|
"- `search.smartCase`: Use case-insensitive search if your search term is all lowercase."
|
|
158
158
|
)));
|
|
159
|
-
content.push(( localize(
|
|
159
|
+
content.push(( localize(13135, "- `search.searchOnType`: Search all files as you type.")));
|
|
160
160
|
content.push(( localize(
|
|
161
|
-
|
|
161
|
+
13136,
|
|
162
162
|
"- `search.searchOnTypeDebouncePeriod`: Wait time in milliseconds before searching as you type."
|
|
163
163
|
)));
|
|
164
|
-
content.push(( localize(
|
|
165
|
-
content.push(( localize(
|
|
166
|
-
content.push(( localize(
|
|
164
|
+
content.push(( localize(13137, "- `search.maxResults`: Maximum number of search results to show.")));
|
|
165
|
+
content.push(( localize(13138, "- `search.collapseResults`: Expand or collapse results.")));
|
|
166
|
+
content.push(( localize(13139, "- `search.showLineNumbers`: Show line numbers for results.")));
|
|
167
167
|
content.push(( localize(
|
|
168
|
-
|
|
168
|
+
13140,
|
|
169
169
|
"- `search.sortOrder`: Sort results by file name, type, modified time, or match count."
|
|
170
170
|
)));
|
|
171
171
|
content.push(( localize(
|
|
172
|
-
|
|
172
|
+
13141,
|
|
173
173
|
"- `search.searchEditor.defaultNumberOfContextLines`: Number of context lines shown around matches."
|
|
174
174
|
)));
|
|
175
|
-
content.push(( localize(
|
|
176
|
-
content.push(( localize(
|
|
175
|
+
content.push(( localize(13142, "- `search.defaultViewMode`: Show results as list or tree.")));
|
|
176
|
+
content.push(( localize(13143, "- `search.actionsPosition`: Position of action buttons.")));
|
|
177
177
|
if (isReplaceMode) {
|
|
178
178
|
content.push(( localize(
|
|
179
|
-
|
|
179
|
+
13144,
|
|
180
180
|
"- `search.useReplacePreview`: Open preview when replacing matches."
|
|
181
181
|
)));
|
|
182
182
|
}
|
|
183
183
|
if (isMacintosh) {
|
|
184
184
|
content.push("");
|
|
185
|
-
content.push(( localize(
|
|
185
|
+
content.push(( localize(13145, "Platform-Specific Setting (macOS only):")));
|
|
186
186
|
content.push(( localize(
|
|
187
|
-
|
|
187
|
+
13146,
|
|
188
188
|
"- `search.globalFindClipboard`: Uses the shared macOS Find clipboard when available."
|
|
189
189
|
)));
|
|
190
190
|
}
|
|
191
191
|
content.push("");
|
|
192
|
-
content.push(( localize(
|
|
192
|
+
content.push(( localize(13147, "Closing:")));
|
|
193
193
|
content.push(( localize(
|
|
194
|
-
|
|
194
|
+
13148,
|
|
195
195
|
"Press Escape to close Search. Focus returns to the editor, and your search history is preserved."
|
|
196
196
|
)));
|
|
197
197
|
return content.join("\n");
|
|
@@ -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(13150, "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(13151, "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(13152, "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(13153, "Get Search Results")),
|
|
87
87
|
category,
|
|
88
88
|
f1: false
|
|
89
89
|
});
|
|
@@ -31,7 +31,7 @@ registerAction2(class RestrictSearchToFolderAction extends Action2 {
|
|
|
31
31
|
constructor() {
|
|
32
32
|
super({
|
|
33
33
|
id: SearchCommandIds.RestrictSearchToFolderId,
|
|
34
|
-
title: ( localize2(
|
|
34
|
+
title: ( localize2(13154, "Restrict Search to Folder")),
|
|
35
35
|
category,
|
|
36
36
|
keybinding: {
|
|
37
37
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -57,7 +57,7 @@ registerAction2(class ExpandSelectedTreeCommandAction extends Action2 {
|
|
|
57
57
|
constructor() {
|
|
58
58
|
super({
|
|
59
59
|
id: SearchCommandIds.ExpandRecursivelyCommandId,
|
|
60
|
-
title: ( localize(
|
|
60
|
+
title: ( localize(13155, "Expand Recursively")),
|
|
61
61
|
category,
|
|
62
62
|
menu: [{
|
|
63
63
|
id: MenuId.SearchContext,
|
|
@@ -78,7 +78,7 @@ registerAction2(class ExcludeFolderFromSearchAction extends Action2 {
|
|
|
78
78
|
constructor() {
|
|
79
79
|
super({
|
|
80
80
|
id: SearchCommandIds.ExcludeFolderFromSearchId,
|
|
81
|
-
title: ( localize2(
|
|
81
|
+
title: ( localize2(13156, "Exclude Folder from Search")),
|
|
82
82
|
category,
|
|
83
83
|
menu: [{
|
|
84
84
|
id: MenuId.SearchContext,
|
|
@@ -96,7 +96,7 @@ registerAction2(class ExcludeFileTypeFromSearchAction extends Action2 {
|
|
|
96
96
|
constructor() {
|
|
97
97
|
super({
|
|
98
98
|
id: SearchCommandIds.ExcludeFileTypeFromSearchId,
|
|
99
|
-
title: ( localize2(
|
|
99
|
+
title: ( localize2(13157, "Exclude File Type from Search")),
|
|
100
100
|
category,
|
|
101
101
|
menu: [{
|
|
102
102
|
id: MenuId.SearchContext,
|
|
@@ -114,7 +114,7 @@ registerAction2(class IncludeFileTypeInSearchAction extends Action2 {
|
|
|
114
114
|
constructor() {
|
|
115
115
|
super({
|
|
116
116
|
id: SearchCommandIds.IncludeFileTypeInSearchId,
|
|
117
|
-
title: ( localize2(
|
|
117
|
+
title: ( localize2(13158, "Include File Type from Search")),
|
|
118
118
|
category,
|
|
119
119
|
menu: [{
|
|
120
120
|
id: MenuId.SearchContext,
|
|
@@ -132,7 +132,7 @@ registerAction2(class RevealInSideBarForSearchResultsAction extends Action2 {
|
|
|
132
132
|
constructor() {
|
|
133
133
|
super({
|
|
134
134
|
id: SearchCommandIds.RevealInSideBarForSearchResults,
|
|
135
|
-
title: ( localize2(
|
|
135
|
+
title: ( localize2(13159, "Reveal in Explorer View")),
|
|
136
136
|
category,
|
|
137
137
|
menu: [{
|
|
138
138
|
id: MenuId.SearchContext,
|
|
@@ -179,13 +179,13 @@ registerAction2(class FindInFilesAction extends Action2 {
|
|
|
179
179
|
super({
|
|
180
180
|
id: SearchCommandIds.FindInFilesActionId,
|
|
181
181
|
title: {
|
|
182
|
-
...( localize2(
|
|
183
|
-
mnemonicTitle: ( localize(
|
|
182
|
+
...( localize2(13160, "Find in Files")),
|
|
183
|
+
mnemonicTitle: ( localize(13161, "Find &&in Files"))
|
|
184
184
|
},
|
|
185
185
|
metadata: {
|
|
186
|
-
description: ( localize(
|
|
186
|
+
description: ( localize(13162, "Open a workspace search")),
|
|
187
187
|
args: [{
|
|
188
|
-
name: ( localize(
|
|
188
|
+
name: ( localize(13163, "A set of options for the search")),
|
|
189
189
|
schema: {
|
|
190
190
|
type: "object",
|
|
191
191
|
properties: {
|
|
@@ -252,7 +252,7 @@ registerAction2(class FindInFolderAction extends Action2 {
|
|
|
252
252
|
constructor() {
|
|
253
253
|
super({
|
|
254
254
|
id: SearchCommandIds.FindInFolderId,
|
|
255
|
-
title: ( localize2(
|
|
255
|
+
title: ( localize2(13164, "Find in Folder...")),
|
|
256
256
|
category,
|
|
257
257
|
keybinding: {
|
|
258
258
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -275,7 +275,7 @@ registerAction2(class FindInWorkspaceAction extends Action2 {
|
|
|
275
275
|
constructor() {
|
|
276
276
|
super({
|
|
277
277
|
id: SearchCommandIds.FindInWorkspaceId,
|
|
278
|
-
title: ( localize2(
|
|
278
|
+
title: ( localize2(13165, "Find in Workspace...")),
|
|
279
279
|
category,
|
|
280
280
|
menu: [{
|
|
281
281
|
id: MenuId.ExplorerContext,
|
|
@@ -24,7 +24,7 @@ registerAction2(class ToggleQueryDetailsAction extends Action2 {
|
|
|
24
24
|
constructor() {
|
|
25
25
|
super({
|
|
26
26
|
id: SearchCommandIds.ToggleQueryDetailsActionId,
|
|
27
|
-
title: ( localize2(
|
|
27
|
+
title: ( localize2(13166, "Toggle Query Details")),
|
|
28
28
|
category,
|
|
29
29
|
keybinding: {
|
|
30
30
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -51,7 +51,7 @@ registerAction2(class CloseReplaceAction extends Action2 {
|
|
|
51
51
|
constructor() {
|
|
52
52
|
super({
|
|
53
53
|
id: SearchCommandIds.CloseReplaceWidgetActionId,
|
|
54
|
-
title: ( localize2(
|
|
54
|
+
title: ( localize2(13167, "Close Replace Widget")),
|
|
55
55
|
category,
|
|
56
56
|
keybinding: {
|
|
57
57
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -76,7 +76,7 @@ registerAction2(class ToggleCaseSensitiveCommandAction extends Action2 {
|
|
|
76
76
|
constructor() {
|
|
77
77
|
super({
|
|
78
78
|
id: SearchCommandIds.ToggleCaseSensitiveCommandId,
|
|
79
|
-
title: ( localize2(
|
|
79
|
+
title: ( localize2(13168, "Toggle Case Sensitive")),
|
|
80
80
|
category,
|
|
81
81
|
keybinding: Object.assign({
|
|
82
82
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -92,7 +92,7 @@ registerAction2(class ToggleWholeWordCommandAction extends Action2 {
|
|
|
92
92
|
constructor() {
|
|
93
93
|
super({
|
|
94
94
|
id: SearchCommandIds.ToggleWholeWordCommandId,
|
|
95
|
-
title: ( localize2(
|
|
95
|
+
title: ( localize2(13169, "Toggle Whole Word")),
|
|
96
96
|
keybinding: Object.assign({
|
|
97
97
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
98
98
|
when: SearchContext.SearchViewFocusedKey
|
|
@@ -108,7 +108,7 @@ registerAction2(class ToggleRegexCommandAction extends Action2 {
|
|
|
108
108
|
constructor() {
|
|
109
109
|
super({
|
|
110
110
|
id: SearchCommandIds.ToggleRegexCommandId,
|
|
111
|
-
title: ( localize2(
|
|
111
|
+
title: ( localize2(13170, "Toggle Regex")),
|
|
112
112
|
keybinding: Object.assign({
|
|
113
113
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
114
114
|
when: SearchContext.SearchViewFocusedKey
|
|
@@ -124,7 +124,7 @@ registerAction2(class TogglePreserveCaseAction extends Action2 {
|
|
|
124
124
|
constructor() {
|
|
125
125
|
super({
|
|
126
126
|
id: SearchCommandIds.TogglePreserveCaseId,
|
|
127
|
-
title: ( localize2(
|
|
127
|
+
title: ( localize2(13171, "Toggle Preserve Case")),
|
|
128
128
|
keybinding: Object.assign({
|
|
129
129
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
130
130
|
when: SearchContext.SearchViewFocusedKey
|
|
@@ -140,7 +140,7 @@ registerAction2(class OpenMatchAction extends Action2 {
|
|
|
140
140
|
constructor() {
|
|
141
141
|
super({
|
|
142
142
|
id: SearchCommandIds.OpenMatch,
|
|
143
|
-
title: ( localize2(
|
|
143
|
+
title: ( localize2(13172, "Open Match")),
|
|
144
144
|
category,
|
|
145
145
|
keybinding: {
|
|
146
146
|
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(13173, "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(13174, "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(13175, "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(13176, "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(13177, "Focus Search From Results")),
|
|
288
288
|
category,
|
|
289
289
|
keybinding: {
|
|
290
290
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -308,7 +308,7 @@ registerAction2(class ToggleSearchOnTypeAction extends Action2 {
|
|
|
308
308
|
constructor() {
|
|
309
309
|
super({
|
|
310
310
|
id: SearchCommandIds.ToggleSearchOnTypeActionId,
|
|
311
|
-
title: ( localize2(
|
|
311
|
+
title: ( localize2(13178, "Toggle Search on Type")),
|
|
312
312
|
category
|
|
313
313
|
});
|
|
314
314
|
}
|
|
@@ -322,7 +322,7 @@ registerAction2(class FocusSearchListCommandAction extends Action2 {
|
|
|
322
322
|
constructor() {
|
|
323
323
|
super({
|
|
324
324
|
id: SearchCommandIds.FocusSearchListCommandID,
|
|
325
|
-
title: ( localize2(
|
|
325
|
+
title: ( localize2(13179, "Focus List")),
|
|
326
326
|
category,
|
|
327
327
|
f1: true
|
|
328
328
|
});
|
|
@@ -335,7 +335,7 @@ registerAction2(class FocusNextSearchResultAction extends Action2 {
|
|
|
335
335
|
constructor() {
|
|
336
336
|
super({
|
|
337
337
|
id: SearchCommandIds.FocusNextSearchResultActionId,
|
|
338
|
-
title: ( localize2(
|
|
338
|
+
title: ( localize2(13180, "Focus Next Search Result")),
|
|
339
339
|
keybinding: [{
|
|
340
340
|
primary: KeyCode.F4,
|
|
341
341
|
weight: KeybindingWeight.WorkbenchContrib
|
|
@@ -356,7 +356,7 @@ registerAction2(class FocusPreviousSearchResultAction extends Action2 {
|
|
|
356
356
|
constructor() {
|
|
357
357
|
super({
|
|
358
358
|
id: SearchCommandIds.FocusPreviousSearchResultActionId,
|
|
359
|
-
title: ( localize2(
|
|
359
|
+
title: ( localize2(13181, "Focus Previous Search Result")),
|
|
360
360
|
keybinding: [{
|
|
361
361
|
primary: KeyMod.Shift | KeyCode.F4,
|
|
362
362
|
weight: KeybindingWeight.WorkbenchContrib
|
|
@@ -377,7 +377,7 @@ registerAction2(class ReplaceInFilesAction extends Action2 {
|
|
|
377
377
|
constructor() {
|
|
378
378
|
super({
|
|
379
379
|
id: SearchCommandIds.ReplaceInFilesActionId,
|
|
380
|
-
title: ( localize2(
|
|
380
|
+
title: ( localize2(13182, "Replace in Files")),
|
|
381
381
|
keybinding: [{
|
|
382
382
|
primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyH,
|
|
383
383
|
weight: KeybindingWeight.WorkbenchContrib
|
|
@@ -23,7 +23,7 @@ registerAction2(class RemoveAction extends Action2 {
|
|
|
23
23
|
constructor() {
|
|
24
24
|
super({
|
|
25
25
|
id: SearchCommandIds.RemoveActionId,
|
|
26
|
-
title: ( localize2(
|
|
26
|
+
title: ( localize2(13183, "Dismiss")),
|
|
27
27
|
category,
|
|
28
28
|
icon: searchRemoveIcon,
|
|
29
29
|
keybinding: {
|
|
@@ -106,7 +106,7 @@ registerAction2(class ReplaceAction extends Action2 {
|
|
|
106
106
|
constructor() {
|
|
107
107
|
super({
|
|
108
108
|
id: SearchCommandIds.ReplaceActionId,
|
|
109
|
-
title: ( localize2(
|
|
109
|
+
title: ( localize2(13184, "Replace")),
|
|
110
110
|
category,
|
|
111
111
|
keybinding: {
|
|
112
112
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -148,7 +148,7 @@ registerAction2(class ReplaceAllAction extends Action2 {
|
|
|
148
148
|
constructor() {
|
|
149
149
|
super({
|
|
150
150
|
id: SearchCommandIds.ReplaceAllInFileActionId,
|
|
151
|
-
title: ( localize2(
|
|
151
|
+
title: ( localize2(13185, "Replace All")),
|
|
152
152
|
category,
|
|
153
153
|
keybinding: {
|
|
154
154
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -191,7 +191,7 @@ registerAction2(class ReplaceAllInFolderAction extends Action2 {
|
|
|
191
191
|
constructor() {
|
|
192
192
|
super({
|
|
193
193
|
id: SearchCommandIds.ReplaceAllInFolderActionId,
|
|
194
|
-
title: ( localize2(
|
|
194
|
+
title: ( localize2(13185, "Replace All")),
|
|
195
195
|
category,
|
|
196
196
|
keybinding: {
|
|
197
197
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -11,7 +11,7 @@ registerAction2(class ShowAllSymbolsAction extends Action2 {
|
|
|
11
11
|
this.ID = "workbench.action.showAllSymbols";
|
|
12
12
|
}
|
|
13
13
|
static {
|
|
14
|
-
this.LABEL = ( localize(
|
|
14
|
+
this.LABEL = ( localize(13186, "Go to Symbol in Workspace..."));
|
|
15
15
|
}
|
|
16
16
|
static {
|
|
17
17
|
this.ALL_SYMBOLS_PREFIX = "#";
|
|
@@ -20,8 +20,8 @@ registerAction2(class ShowAllSymbolsAction extends Action2 {
|
|
|
20
20
|
super({
|
|
21
21
|
id: SearchCommandIds.ShowAllSymbolsActionId,
|
|
22
22
|
title: {
|
|
23
|
-
...( localize2(
|
|
24
|
-
mnemonicTitle: ( localize(
|
|
23
|
+
...( localize2(13186, "Go to Symbol in Workspace...")),
|
|
24
|
+
mnemonicTitle: ( localize(13187, "Go to Symbol in &&Workspace..."))
|
|
25
25
|
},
|
|
26
26
|
f1: true,
|
|
27
27
|
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(13188, "Quick Search")),
|
|
17
17
|
category,
|
|
18
18
|
f1: true
|
|
19
19
|
});
|
|
@@ -14,14 +14,14 @@ quickAccessRegistry.registerQuickAccessProvider({
|
|
|
14
14
|
ctor: AnythingQuickAccessProvider,
|
|
15
15
|
prefix: AnythingQuickAccessProvider.PREFIX,
|
|
16
16
|
placeholder: ( localize(
|
|
17
|
-
|
|
17
|
+
13226,
|
|
18
18
|
"Search files by name (append {0} to go to line or {1} to go to symbol)",
|
|
19
19
|
AbstractGotoLineQuickAccessProvider.GO_TO_LINE_PREFIX,
|
|
20
20
|
GotoSymbolQuickAccessProvider.PREFIX
|
|
21
21
|
)),
|
|
22
22
|
contextKey: defaultQuickAccessContextKeyValue,
|
|
23
23
|
helpEntries: [{
|
|
24
|
-
description: ( localize(
|
|
24
|
+
description: ( localize(13227, "Go to File")),
|
|
25
25
|
commandId: "workbench.action.quickOpen",
|
|
26
26
|
commandCenterOrder: 10
|
|
27
27
|
}]
|
|
@@ -29,10 +29,10 @@ quickAccessRegistry.registerQuickAccessProvider({
|
|
|
29
29
|
quickAccessRegistry.registerQuickAccessProvider({
|
|
30
30
|
ctor: SymbolsQuickAccessProvider,
|
|
31
31
|
prefix: SymbolsQuickAccessProvider.PREFIX,
|
|
32
|
-
placeholder: ( localize(
|
|
32
|
+
placeholder: ( localize(13228, "Type the name of a symbol to open.")),
|
|
33
33
|
contextKey: "inWorkspaceSymbolsPicker",
|
|
34
34
|
helpEntries: [{
|
|
35
|
-
description: ( localize(
|
|
35
|
+
description: ( localize(13229, "Go to Symbol in Workspace")),
|
|
36
36
|
commandId: "workbench.action.showAllSymbols"
|
|
37
37
|
}]
|
|
38
38
|
});
|