@codingame/monaco-vscode-view-common-service-override 10.0.1 → 10.1.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 +3 -3
- package/vscode/src/vs/workbench/api/browser/viewsExtensionPoint.js +58 -58
- package/vscode/src/vs/workbench/browser/actions/listCommands.js +3 -3
- package/vscode/src/vs/workbench/browser/actions/navigationActions.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/editor/editor.contribution.js +159 -159
- package/vscode/src/vs/workbench/browser/parts/editor/editorConfiguration.js +8 -8
- package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchy.contribution.js +12 -12
- package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyPeek.js +5 -5
- package/vscode/src/vs/workbench/contrib/customEditor/common/contributedCustomEditors.js +1 -1
- package/vscode/src/vs/workbench/contrib/customEditor/common/customEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/languageStatus/browser/languageStatus.contribution.js +7 -7
- package/vscode/src/vs/workbench/contrib/limitIndicator/browser/limitIndicator.contribution.js +8 -8
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/commands/commands.js +27 -27
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/commands/devCommands.js +14 -14
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditor.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/colors.js +13 -13
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/inputCodeEditorView.js +11 -11
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/mergeEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/preferences/browser/keyboardLayoutPicker.js +12 -12
- package/vscode/src/vs/workbench/contrib/sash/browser/sash.contribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchy.contribution.js +10 -10
- package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyPeek.js +5 -5
- package/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.js +1 -1
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewCommands.js +5 -5
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewPanel.contribution.js +1 -1
- package/vscode/src/vs/workbench/services/editor/browser/editorResolverService.js +9 -9
- package/vscode/src/vs/workbench/services/history/browser/historyService.js +9 -9
- package/vscode/src/vs/workbench/services/progress/browser/progressService.js +7 -7
- package/vscode/src/vs/workbench/services/views/browser/viewDescriptorService.js +2 -2
- package/vscode/src/vs/workbench/services/views/common/viewContainerModel.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-view-common-service-override",
|
|
3
|
-
"version": "10.0
|
|
3
|
+
"version": "10.1.0",
|
|
4
4
|
"keywords": [],
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "CodinGame",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"vscode": "npm:@codingame/monaco-vscode-api@10.0
|
|
30
|
-
"@codingame/monaco-vscode-bulk-edit-service-override": "10.0
|
|
29
|
+
"vscode": "npm:@codingame/monaco-vscode-api@10.1.0",
|
|
30
|
+
"@codingame/monaco-vscode-bulk-edit-service-override": "10.1.0"
|
|
31
31
|
}
|
|
32
32
|
}
|
|
@@ -30,19 +30,19 @@ const viewsContainerSchema = {
|
|
|
30
30
|
properties: {
|
|
31
31
|
id: {
|
|
32
32
|
description: ( localize(
|
|
33
|
-
|
|
33
|
+
4252,
|
|
34
34
|
"Unique id used to identify the container in which views can be contributed using 'views' contribution point"
|
|
35
35
|
)),
|
|
36
36
|
type: 'string',
|
|
37
37
|
pattern: '^[a-zA-Z0-9_-]+$'
|
|
38
38
|
},
|
|
39
39
|
title: {
|
|
40
|
-
description: ( localize(
|
|
40
|
+
description: ( localize(4253, 'Human readable string used to render the container')),
|
|
41
41
|
type: 'string'
|
|
42
42
|
},
|
|
43
43
|
icon: {
|
|
44
44
|
description: ( localize(
|
|
45
|
-
|
|
45
|
+
4254,
|
|
46
46
|
"Path to the container icon. Icons are 24x24 centered on a 50x40 block and have a fill color of 'rgb(215, 218, 224)' or '#d7dae0'. It is recommended that icons be in SVG, though any image file type is accepted."
|
|
47
47
|
)),
|
|
48
48
|
type: 'string'
|
|
@@ -51,16 +51,16 @@ const viewsContainerSchema = {
|
|
|
51
51
|
required: ['id', 'title', 'icon']
|
|
52
52
|
};
|
|
53
53
|
const viewsContainersContribution = {
|
|
54
|
-
description: ( localize(
|
|
54
|
+
description: ( localize(4255, 'Contributes views containers to the editor')),
|
|
55
55
|
type: 'object',
|
|
56
56
|
properties: {
|
|
57
57
|
'activitybar': {
|
|
58
|
-
description: ( localize(
|
|
58
|
+
description: ( localize(4256, "Contribute views containers to Activity Bar")),
|
|
59
59
|
type: 'array',
|
|
60
60
|
items: viewsContainerSchema
|
|
61
61
|
},
|
|
62
62
|
'panel': {
|
|
63
|
-
description: ( localize(
|
|
63
|
+
description: ( localize(4257, "Contribute views containers to Panel")),
|
|
64
64
|
type: 'array',
|
|
65
65
|
items: viewsContainerSchema
|
|
66
66
|
}
|
|
@@ -84,7 +84,7 @@ const viewDescriptor = {
|
|
|
84
84
|
properties: {
|
|
85
85
|
type: {
|
|
86
86
|
markdownDescription: ( localize(
|
|
87
|
-
|
|
87
|
+
4258,
|
|
88
88
|
"Type of the view. This can either be `tree` for a tree view based view or `webview` for a webview based view. The default is `tree`."
|
|
89
89
|
)),
|
|
90
90
|
type: 'string',
|
|
@@ -93,45 +93,45 @@ const viewDescriptor = {
|
|
|
93
93
|
'webview',
|
|
94
94
|
],
|
|
95
95
|
markdownEnumDescriptions: [
|
|
96
|
-
( localize(
|
|
96
|
+
( localize(4259, "The view is backed by a `TreeView` created by `createTreeView`.")),
|
|
97
97
|
( localize(
|
|
98
|
-
|
|
98
|
+
4260,
|
|
99
99
|
"The view is backed by a `WebviewView` registered by `registerWebviewViewProvider`."
|
|
100
100
|
)),
|
|
101
101
|
]
|
|
102
102
|
},
|
|
103
103
|
id: {
|
|
104
104
|
markdownDescription: ( localize(
|
|
105
|
-
|
|
105
|
+
4261,
|
|
106
106
|
'Identifier of the view. This should be unique across all views. It is recommended to include your extension id as part of the view id. Use this to register a data provider through `vscode.window.registerTreeDataProviderForView` API. Also to trigger activating your extension by registering `onView:${id}` event to `activationEvents`.'
|
|
107
107
|
)),
|
|
108
108
|
type: 'string'
|
|
109
109
|
},
|
|
110
110
|
name: {
|
|
111
|
-
description: ( localize(
|
|
111
|
+
description: ( localize(4262, 'The human-readable name of the view. Will be shown')),
|
|
112
112
|
type: 'string'
|
|
113
113
|
},
|
|
114
114
|
when: {
|
|
115
|
-
description: ( localize(
|
|
115
|
+
description: ( localize(4263, 'Condition which must be true to show this view')),
|
|
116
116
|
type: 'string'
|
|
117
117
|
},
|
|
118
118
|
icon: {
|
|
119
119
|
description: ( localize(
|
|
120
|
-
|
|
120
|
+
4264,
|
|
121
121
|
"Path to the view icon. View icons are displayed when the name of the view cannot be shown. It is recommended that icons be in SVG, though any image file type is accepted."
|
|
122
122
|
)),
|
|
123
123
|
type: 'string'
|
|
124
124
|
},
|
|
125
125
|
contextualTitle: {
|
|
126
126
|
description: ( localize(
|
|
127
|
-
|
|
127
|
+
4265,
|
|
128
128
|
"Human-readable context for when the view is moved out of its original location. By default, the view's container name will be used."
|
|
129
129
|
)),
|
|
130
130
|
type: 'string'
|
|
131
131
|
},
|
|
132
132
|
visibility: {
|
|
133
133
|
description: ( localize(
|
|
134
|
-
|
|
134
|
+
4266,
|
|
135
135
|
"Initial state of the view when the extension is first installed. Once the user has changed the view state by collapsing, moving, or hiding the view, the initial state will not be used again."
|
|
136
136
|
)),
|
|
137
137
|
type: 'string',
|
|
@@ -143,27 +143,27 @@ const viewDescriptor = {
|
|
|
143
143
|
default: 'visible',
|
|
144
144
|
enumDescriptions: [
|
|
145
145
|
( localize(
|
|
146
|
-
|
|
146
|
+
4267,
|
|
147
147
|
"The default initial state for the view. In most containers the view will be expanded, however; some built-in containers (explorer, scm, and debug) show all contributed views collapsed regardless of the `visibility`."
|
|
148
148
|
)),
|
|
149
149
|
( localize(
|
|
150
|
-
|
|
150
|
+
4268,
|
|
151
151
|
"The view will not be shown in the view container, but will be discoverable through the views menu and other view entry points and can be un-hidden by the user."
|
|
152
152
|
)),
|
|
153
|
-
( localize(
|
|
153
|
+
( localize(4269, "The view will show in the view container, but will be collapsed."))
|
|
154
154
|
]
|
|
155
155
|
},
|
|
156
156
|
initialSize: {
|
|
157
157
|
type: 'number',
|
|
158
158
|
description: ( localize(
|
|
159
|
-
|
|
159
|
+
4270,
|
|
160
160
|
"The initial size of the view. The size will behave like the css 'flex' property, and will set the initial size when the view is first shown. In the side bar, this is the height of the view. This value is only respected when the same extension owns both the view and the view container."
|
|
161
161
|
)),
|
|
162
162
|
},
|
|
163
163
|
accessibilityHelpContent: {
|
|
164
164
|
type: 'string',
|
|
165
165
|
markdownDescription: ( localize(
|
|
166
|
-
|
|
166
|
+
4271,
|
|
167
167
|
"When the accessibility help dialog is invoked in this view, this content will be presented to the user as a markdown string. Keybindings will be resolved when provided in the format of <keybinding:commandId>. If there is no keybinding, that will be indicated and this command will be included in a quickpick for easy configuration."
|
|
168
168
|
))
|
|
169
169
|
}
|
|
@@ -175,25 +175,25 @@ const remoteViewDescriptor = {
|
|
|
175
175
|
properties: {
|
|
176
176
|
id: {
|
|
177
177
|
description: ( localize(
|
|
178
|
-
|
|
178
|
+
4261,
|
|
179
179
|
'Identifier of the view. This should be unique across all views. It is recommended to include your extension id as part of the view id. Use this to register a data provider through `vscode.window.registerTreeDataProviderForView` API. Also to trigger activating your extension by registering `onView:${id}` event to `activationEvents`.'
|
|
180
180
|
)),
|
|
181
181
|
type: 'string'
|
|
182
182
|
},
|
|
183
183
|
name: {
|
|
184
|
-
description: ( localize(
|
|
184
|
+
description: ( localize(4262, 'The human-readable name of the view. Will be shown')),
|
|
185
185
|
type: 'string'
|
|
186
186
|
},
|
|
187
187
|
when: {
|
|
188
|
-
description: ( localize(
|
|
188
|
+
description: ( localize(4263, 'Condition which must be true to show this view')),
|
|
189
189
|
type: 'string'
|
|
190
190
|
},
|
|
191
191
|
group: {
|
|
192
|
-
description: ( localize(
|
|
192
|
+
description: ( localize(4272, 'Nested group in the viewlet')),
|
|
193
193
|
type: 'string'
|
|
194
194
|
},
|
|
195
195
|
remoteName: {
|
|
196
|
-
description: ( localize(
|
|
196
|
+
description: ( localize(4273, 'The name of the remote type associated with this view')),
|
|
197
197
|
type: ['string', 'array'],
|
|
198
198
|
items: {
|
|
199
199
|
type: 'string'
|
|
@@ -202,36 +202,36 @@ const remoteViewDescriptor = {
|
|
|
202
202
|
}
|
|
203
203
|
};
|
|
204
204
|
const viewsContribution = {
|
|
205
|
-
description: ( localize(
|
|
205
|
+
description: ( localize(4274, "Contributes views to the editor")),
|
|
206
206
|
type: 'object',
|
|
207
207
|
properties: {
|
|
208
208
|
'explorer': {
|
|
209
|
-
description: ( localize(
|
|
209
|
+
description: ( localize(4275, "Contributes views to Explorer container in the Activity bar")),
|
|
210
210
|
type: 'array',
|
|
211
211
|
items: viewDescriptor,
|
|
212
212
|
default: []
|
|
213
213
|
},
|
|
214
214
|
'debug': {
|
|
215
|
-
description: ( localize(
|
|
215
|
+
description: ( localize(4276, "Contributes views to Debug container in the Activity bar")),
|
|
216
216
|
type: 'array',
|
|
217
217
|
items: viewDescriptor,
|
|
218
218
|
default: []
|
|
219
219
|
},
|
|
220
220
|
'scm': {
|
|
221
|
-
description: ( localize(
|
|
221
|
+
description: ( localize(4277, "Contributes views to SCM container in the Activity bar")),
|
|
222
222
|
type: 'array',
|
|
223
223
|
items: viewDescriptor,
|
|
224
224
|
default: []
|
|
225
225
|
},
|
|
226
226
|
'test': {
|
|
227
|
-
description: ( localize(
|
|
227
|
+
description: ( localize(4278, "Contributes views to Test container in the Activity bar")),
|
|
228
228
|
type: 'array',
|
|
229
229
|
items: viewDescriptor,
|
|
230
230
|
default: []
|
|
231
231
|
},
|
|
232
232
|
'remote': {
|
|
233
233
|
description: ( localize(
|
|
234
|
-
|
|
234
|
+
4279,
|
|
235
235
|
"Contributes views to Remote container in the Activity bar. To contribute to this container, enableProposedApi needs to be turned on"
|
|
236
236
|
)),
|
|
237
237
|
type: 'array',
|
|
@@ -240,7 +240,7 @@ const viewsContribution = {
|
|
|
240
240
|
}
|
|
241
241
|
},
|
|
242
242
|
additionalProperties: {
|
|
243
|
-
description: ( localize(
|
|
243
|
+
description: ( localize(4280, "Contributes views to contributed views container")),
|
|
244
244
|
type: 'array',
|
|
245
245
|
items: viewDescriptor,
|
|
246
246
|
default: []
|
|
@@ -322,13 +322,13 @@ let ViewsExtensionHandler = class ViewsExtensionHandler {
|
|
|
322
322
|
}
|
|
323
323
|
isValidViewsContainer(viewsContainersDescriptors, collector) {
|
|
324
324
|
if (!Array.isArray(viewsContainersDescriptors)) {
|
|
325
|
-
collector.error(( localize(
|
|
325
|
+
collector.error(( localize(4281, "views containers must be an array")));
|
|
326
326
|
return false;
|
|
327
327
|
}
|
|
328
328
|
for (const descriptor of viewsContainersDescriptors) {
|
|
329
329
|
if (typeof descriptor.id !== 'string' && isFalsyOrWhitespace(descriptor.id)) {
|
|
330
330
|
collector.error(( localize(
|
|
331
|
-
|
|
331
|
+
4282,
|
|
332
332
|
"property `{0}` is mandatory and must be of type `string` with non-empty value. Only alphanumeric characters, '_', and '-' are allowed.",
|
|
333
333
|
'id'
|
|
334
334
|
)));
|
|
@@ -336,23 +336,23 @@ let ViewsExtensionHandler = class ViewsExtensionHandler {
|
|
|
336
336
|
}
|
|
337
337
|
if (!(/^[a-z0-9_-]+$/i.test(descriptor.id))) {
|
|
338
338
|
collector.error(( localize(
|
|
339
|
-
|
|
339
|
+
4282,
|
|
340
340
|
"property `{0}` is mandatory and must be of type `string` with non-empty value. Only alphanumeric characters, '_', and '-' are allowed.",
|
|
341
341
|
'id'
|
|
342
342
|
)));
|
|
343
343
|
return false;
|
|
344
344
|
}
|
|
345
345
|
if (typeof descriptor.title !== 'string') {
|
|
346
|
-
collector.error(( localize(
|
|
346
|
+
collector.error(( localize(4283, "property `{0}` is mandatory and must be of type `string`", 'title')));
|
|
347
347
|
return false;
|
|
348
348
|
}
|
|
349
349
|
if (typeof descriptor.icon !== 'string') {
|
|
350
|
-
collector.error(( localize(
|
|
350
|
+
collector.error(( localize(4283, "property `{0}` is mandatory and must be of type `string`", 'icon')));
|
|
351
351
|
return false;
|
|
352
352
|
}
|
|
353
353
|
if (isFalsyOrWhitespace(descriptor.title)) {
|
|
354
354
|
collector.warn(( localize(
|
|
355
|
-
|
|
355
|
+
4284,
|
|
356
356
|
"property `{0}` is mandatory and must be of type `string` with non-empty value",
|
|
357
357
|
'title'
|
|
358
358
|
)));
|
|
@@ -422,7 +422,7 @@ let ViewsExtensionHandler = class ViewsExtensionHandler {
|
|
|
422
422
|
}
|
|
423
423
|
if (key === 'remote' && !isProposedApiEnabled(extension.description, 'contribViewsRemote')) {
|
|
424
424
|
collector.warn(( localize(
|
|
425
|
-
|
|
425
|
+
4285,
|
|
426
426
|
"View container '{0}' requires 'enabledApiProposals: [\"contribViewsRemote\"]' to be added to 'Remote'.",
|
|
427
427
|
key
|
|
428
428
|
)));
|
|
@@ -431,7 +431,7 @@ let ViewsExtensionHandler = class ViewsExtensionHandler {
|
|
|
431
431
|
const viewContainer = this.getViewContainer(key);
|
|
432
432
|
if (!viewContainer) {
|
|
433
433
|
collector.warn(( localize(
|
|
434
|
-
|
|
434
|
+
4286,
|
|
435
435
|
"View container '{0}' does not exist and all views registered to it will be added to 'Explorer'.",
|
|
436
436
|
key
|
|
437
437
|
)));
|
|
@@ -441,11 +441,11 @@ let ViewsExtensionHandler = class ViewsExtensionHandler {
|
|
|
441
441
|
for (let index = 0; index < value.length; index++) {
|
|
442
442
|
const item = value[index];
|
|
443
443
|
if (( (viewIds.has(item.id)))) {
|
|
444
|
-
collector.error(( localize(
|
|
444
|
+
collector.error(( localize(4287, "Cannot register multiple views with same id `{0}`", item.id)));
|
|
445
445
|
continue;
|
|
446
446
|
}
|
|
447
447
|
if (this.viewsRegistry.getView(item.id) !== null) {
|
|
448
|
-
collector.error(( localize(
|
|
448
|
+
collector.error(( localize(4288, "A view with id `{0}` is already registered.", item.id)));
|
|
449
449
|
continue;
|
|
450
450
|
}
|
|
451
451
|
const order = ExtensionIdentifier.equals(extension.description.identifier, container.extensionId)
|
|
@@ -460,7 +460,7 @@ let ViewsExtensionHandler = class ViewsExtensionHandler {
|
|
|
460
460
|
const initialVisibility = this.convertInitialVisibility(item.visibility);
|
|
461
461
|
const type = this.getViewType(item.type);
|
|
462
462
|
if (!type) {
|
|
463
|
-
collector.error(( localize(
|
|
463
|
+
collector.error(( localize(4289, "Unknown view type `{0}`.", item.type)));
|
|
464
464
|
continue;
|
|
465
465
|
}
|
|
466
466
|
let weight = undefined;
|
|
@@ -542,29 +542,29 @@ let ViewsExtensionHandler = class ViewsExtensionHandler {
|
|
|
542
542
|
}
|
|
543
543
|
isValidViewDescriptors(viewDescriptors, collector) {
|
|
544
544
|
if (!Array.isArray(viewDescriptors)) {
|
|
545
|
-
collector.error(( localize(
|
|
545
|
+
collector.error(( localize(4290, "views must be an array")));
|
|
546
546
|
return false;
|
|
547
547
|
}
|
|
548
548
|
for (const descriptor of viewDescriptors) {
|
|
549
549
|
if (typeof descriptor.id !== 'string') {
|
|
550
|
-
collector.error(( localize(
|
|
550
|
+
collector.error(( localize(4283, "property `{0}` is mandatory and must be of type `string`", 'id')));
|
|
551
551
|
return false;
|
|
552
552
|
}
|
|
553
553
|
if (typeof descriptor.name !== 'string') {
|
|
554
|
-
collector.error(( localize(
|
|
554
|
+
collector.error(( localize(4283, "property `{0}` is mandatory and must be of type `string`", 'name')));
|
|
555
555
|
return false;
|
|
556
556
|
}
|
|
557
557
|
if (descriptor.when && typeof descriptor.when !== 'string') {
|
|
558
|
-
collector.error(( localize(
|
|
558
|
+
collector.error(( localize(4291, "property `{0}` can be omitted or must be of type `string`", 'when')));
|
|
559
559
|
return false;
|
|
560
560
|
}
|
|
561
561
|
if (descriptor.icon && typeof descriptor.icon !== 'string') {
|
|
562
|
-
collector.error(( localize(
|
|
562
|
+
collector.error(( localize(4291, "property `{0}` can be omitted or must be of type `string`", 'icon')));
|
|
563
563
|
return false;
|
|
564
564
|
}
|
|
565
565
|
if (descriptor.contextualTitle && typeof descriptor.contextualTitle !== 'string') {
|
|
566
566
|
collector.error(( localize(
|
|
567
|
-
|
|
567
|
+
4291,
|
|
568
568
|
"property `{0}` can be omitted or must be of type `string`",
|
|
569
569
|
'contextualTitle'
|
|
570
570
|
)));
|
|
@@ -572,7 +572,7 @@ let ViewsExtensionHandler = class ViewsExtensionHandler {
|
|
|
572
572
|
}
|
|
573
573
|
if (descriptor.visibility && !this.convertInitialVisibility(descriptor.visibility)) {
|
|
574
574
|
collector.error(( localize(
|
|
575
|
-
|
|
575
|
+
4292,
|
|
576
576
|
"property `{0}` can be omitted or must be one of {1}",
|
|
577
577
|
'visibility',
|
|
578
578
|
( (Object.values(InitialVisibility))).join(', ')
|
|
@@ -624,9 +624,9 @@ class ViewContainersDataRenderer extends Disposable {
|
|
|
624
624
|
return { data: { headers: [], rows: [] }, dispose: () => { } };
|
|
625
625
|
}
|
|
626
626
|
const headers = [
|
|
627
|
-
( localize(
|
|
628
|
-
( localize(
|
|
629
|
-
( localize(
|
|
627
|
+
( localize(4293, "ID")),
|
|
628
|
+
( localize(4294, "Title")),
|
|
629
|
+
( localize(4295, "Where")),
|
|
630
630
|
];
|
|
631
631
|
const rows = ( (viewContainers
|
|
632
632
|
.sort((a, b) => a.id.localeCompare(b.id))
|
|
@@ -665,9 +665,9 @@ class ViewsDataRenderer extends Disposable {
|
|
|
665
665
|
return { data: { headers: [], rows: [] }, dispose: () => { } };
|
|
666
666
|
}
|
|
667
667
|
const headers = [
|
|
668
|
-
( localize(
|
|
669
|
-
( localize(
|
|
670
|
-
( localize(
|
|
668
|
+
( localize(4296, "ID")),
|
|
669
|
+
( localize(4297, "Name")),
|
|
670
|
+
( localize(4295, "Where")),
|
|
671
671
|
];
|
|
672
672
|
const rows = ( (views
|
|
673
673
|
.sort((a, b) => a.id.localeCompare(b.id))
|
|
@@ -689,7 +689,7 @@ class ViewsDataRenderer extends Disposable {
|
|
|
689
689
|
}
|
|
690
690
|
( (Registry.as(Extensions$2.ExtensionFeaturesRegistry))).registerExtensionFeature({
|
|
691
691
|
id: 'viewsContainers',
|
|
692
|
-
label: ( localize(
|
|
692
|
+
label: ( localize(4298, "View Containers")),
|
|
693
693
|
access: {
|
|
694
694
|
canToggle: false
|
|
695
695
|
},
|
|
@@ -697,7 +697,7 @@ class ViewsDataRenderer extends Disposable {
|
|
|
697
697
|
});
|
|
698
698
|
( (Registry.as(Extensions$2.ExtensionFeaturesRegistry))).registerExtensionFeature({
|
|
699
699
|
id: 'views',
|
|
700
|
-
label: ( localize(
|
|
700
|
+
label: ( localize(4299, "Views")),
|
|
701
701
|
access: {
|
|
702
702
|
canToggle: false
|
|
703
703
|
},
|
|
@@ -787,12 +787,12 @@ registerAction2(class ToggleStickyScroll extends Action2 {
|
|
|
787
787
|
super({
|
|
788
788
|
id: 'tree.toggleStickyScroll',
|
|
789
789
|
title: {
|
|
790
|
-
...( localize2(
|
|
791
|
-
mnemonicTitle: ( localize(
|
|
790
|
+
...( localize2(4249, "Toggle Tree Sticky Scroll")),
|
|
791
|
+
mnemonicTitle: ( localize(4250, "&&Toggle Tree Sticky Scroll")),
|
|
792
792
|
},
|
|
793
793
|
category: 'View',
|
|
794
794
|
metadata: { description: ( localize(
|
|
795
|
-
|
|
795
|
+
4251,
|
|
796
796
|
"Toggles Sticky Scroll widget at the top of tree structures such as the File Explorer and Debug variables View."
|
|
797
797
|
)) },
|
|
798
798
|
f1: true
|
|
@@ -142,7 +142,7 @@ registerAction2(class extends BaseNavigationAction {
|
|
|
142
142
|
constructor() {
|
|
143
143
|
super({
|
|
144
144
|
id: 'workbench.action.navigateLeft',
|
|
145
|
-
title: ( localize2(
|
|
145
|
+
title: ( localize2(4467, 'Navigate to the View on the Left')),
|
|
146
146
|
category: Categories.View,
|
|
147
147
|
f1: true
|
|
148
148
|
}, 2 );
|
|
@@ -152,7 +152,7 @@ registerAction2(class extends BaseNavigationAction {
|
|
|
152
152
|
constructor() {
|
|
153
153
|
super({
|
|
154
154
|
id: 'workbench.action.navigateRight',
|
|
155
|
-
title: ( localize2(
|
|
155
|
+
title: ( localize2(4468, 'Navigate to the View on the Right')),
|
|
156
156
|
category: Categories.View,
|
|
157
157
|
f1: true
|
|
158
158
|
}, 3 );
|
|
@@ -162,7 +162,7 @@ registerAction2(class extends BaseNavigationAction {
|
|
|
162
162
|
constructor() {
|
|
163
163
|
super({
|
|
164
164
|
id: 'workbench.action.navigateUp',
|
|
165
|
-
title: ( localize2(
|
|
165
|
+
title: ( localize2(4469, 'Navigate to the View Above')),
|
|
166
166
|
category: Categories.View,
|
|
167
167
|
f1: true
|
|
168
168
|
}, 0 );
|
|
@@ -172,7 +172,7 @@ registerAction2(class extends BaseNavigationAction {
|
|
|
172
172
|
constructor() {
|
|
173
173
|
super({
|
|
174
174
|
id: 'workbench.action.navigateDown',
|
|
175
|
-
title: ( localize2(
|
|
175
|
+
title: ( localize2(4470, 'Navigate to the View Below')),
|
|
176
176
|
category: Categories.View,
|
|
177
177
|
f1: true
|
|
178
178
|
}, 1 );
|
|
@@ -257,7 +257,7 @@ registerAction2(class extends BaseFocusAction {
|
|
|
257
257
|
constructor() {
|
|
258
258
|
super({
|
|
259
259
|
id: 'workbench.action.focusNextPart',
|
|
260
|
-
title: ( localize2(
|
|
260
|
+
title: ( localize2(4471, 'Focus Next Part')),
|
|
261
261
|
category: Categories.View,
|
|
262
262
|
f1: true,
|
|
263
263
|
keybinding: {
|
|
@@ -271,7 +271,7 @@ registerAction2(class extends BaseFocusAction {
|
|
|
271
271
|
constructor() {
|
|
272
272
|
super({
|
|
273
273
|
id: 'workbench.action.focusPreviousPart',
|
|
274
|
-
title: ( localize2(
|
|
274
|
+
title: ( localize2(4472, 'Focus Previous Part')),
|
|
275
275
|
category: Categories.View,
|
|
276
276
|
f1: true,
|
|
277
277
|
keybinding: {
|