@codingame/monaco-vscode-view-common-service-override 34.1.1 → 35.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/package.json +3 -3
  2. package/vscode/src/vs/sessions/common/theme.d.ts +2 -0
  3. package/vscode/src/vs/sessions/common/theme.js +40 -27
  4. package/vscode/src/vs/workbench/api/browser/viewsExtensionPoint.js +57 -57
  5. package/vscode/src/vs/workbench/browser/actions/helpActions.js +20 -20
  6. package/vscode/src/vs/workbench/browser/actions/listCommands.js +3 -3
  7. package/vscode/src/vs/workbench/browser/actions/navigationActions.js +6 -6
  8. package/vscode/src/vs/workbench/browser/parts/editor/editor.contribution.js +190 -170
  9. package/vscode/src/vs/workbench/browser/parts/editor/editorConfiguration.d.ts +3 -1
  10. package/vscode/src/vs/workbench/browser/parts/editor/editorConfiguration.js +28 -13
  11. package/vscode/src/vs/workbench/browser/parts/titlebar/menubar.contribution.js +8 -8
  12. package/vscode/src/vs/workbench/browser/workbench.zenMode.contribution.js +15 -15
  13. package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchy.contribution.js +12 -12
  14. package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyPeek.js +3 -3
  15. package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyTree.js +3 -3
  16. package/vscode/src/vs/workbench/contrib/customEditor/common/contributedCustomEditors.js +4 -4
  17. package/vscode/src/vs/workbench/contrib/customEditor/common/customEditor.js +1 -1
  18. package/vscode/src/vs/workbench/contrib/customEditor/common/extensionPoint.d.ts +7 -7
  19. package/vscode/src/vs/workbench/contrib/customEditor/common/extensionPoint.js +26 -26
  20. package/vscode/src/vs/workbench/contrib/languageStatus/browser/languageStatus.js +7 -7
  21. package/vscode/src/vs/workbench/contrib/limitIndicator/browser/limitIndicator.contribution.js +8 -8
  22. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/commands/commands.js +29 -29
  23. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/commands/devCommands.js +14 -14
  24. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditor.contribution.js +4 -4
  25. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorAccessibilityHelp.js +5 -5
  26. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/colors.js +13 -13
  27. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/conflictActions.js +20 -20
  28. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/baseCodeEditorView.js +3 -3
  29. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/inputCodeEditorView.js +10 -10
  30. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/resultCodeEditorView.js +3 -3
  31. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/mergeEditor.js +1 -1
  32. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/viewModel.js +1 -1
  33. package/vscode/src/vs/workbench/contrib/preferences/browser/keyboardLayoutPicker.js +12 -12
  34. package/vscode/src/vs/workbench/contrib/sash/browser/sash.contribution.js +2 -2
  35. package/vscode/src/vs/workbench/contrib/scrollLocking/browser/scrollLocking.js +7 -7
  36. package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchy.contribution.js +10 -10
  37. package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyPeek.js +3 -3
  38. package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyTree.js +3 -3
  39. package/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.js +4 -4
  40. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewCommands.js +5 -5
  41. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewPanel.contribution.js +1 -1
  42. package/vscode/src/vs/workbench/contrib/webviewView/browser/webviewViewPane.js +8 -1
  43. package/vscode/src/vs/workbench/services/editor/browser/editorResolverService.js +8 -8
  44. package/vscode/src/vs/workbench/services/history/browser/historyService.d.ts +5 -0
  45. package/vscode/src/vs/workbench/services/history/browser/historyService.js +49 -18
  46. package/vscode/src/vs/workbench/services/progress/browser/progressService.js +7 -7
  47. package/vscode/src/vs/workbench/services/views/browser/viewDescriptorService.js +5 -5
  48. package/vscode/src/vs/workbench/services/views/browser/viewsService.js +9 -9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-view-common-service-override",
3
- "version": "34.1.1",
3
+ "version": "35.0.0",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - view-common service-override",
6
6
  "keywords": [],
@@ -15,8 +15,8 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-api": "34.1.1",
19
- "@codingame/monaco-vscode-bulk-edit-service-override": "34.1.1"
18
+ "@codingame/monaco-vscode-api": "35.0.0",
19
+ "@codingame/monaco-vscode-bulk-edit-service-override": "35.0.0"
20
20
  },
21
21
  "main": "index.js",
22
22
  "module": "index.js",
@@ -3,6 +3,8 @@ export declare const agentsPanelBackground: string;
3
3
  export declare const agentsPanelForeground: string;
4
4
  export declare const agentsPanelBorder: string;
5
5
  export declare const agentsGradientTintColor: string;
6
+ export declare const agentFeedbackEditorWidgetBackground: string;
7
+ export declare const agentFeedbackEditorWidgetBorder: string;
6
8
  export declare const agentFeedbackInputWidgetBorder: string;
7
9
  export declare const agentsUpdateButtonDownloadingBackground: string;
8
10
  export declare const agentsUpdateButtonDownloadedBackground: string;
@@ -1,9 +1,10 @@
1
1
 
2
2
  import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
3
- import { registerColor, transparent } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colorUtils';
3
+ import { Color } from '@codingame/monaco-vscode-api/vscode/vs/base/common/color';
4
+ import { registerColor, transparent, darken, lighten } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colorUtils';
4
5
  import { contrastBorder, foreground, focusBorder } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/baseColors';
5
6
  import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/chartsColors';
6
- import { editorBackground, editorWidgetBorder, toolbarHoverBackground } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/editorColors';
7
+ import { editorBackground, editorWidgetBackground, editorWidgetBorder, toolbarHoverBackground } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/editorColors';
7
8
  import { buttonBackground, inputBackground, inputForeground, inputBorder, inputPlaceholderForeground, buttonSecondaryBorder } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/inputColors';
8
9
  import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/listColors';
9
10
  import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/menuColors';
@@ -19,7 +20,7 @@ const agentsBackground = registerColor("agents.background", {
19
20
  hcDark: editorBackground,
20
21
  hcLight: editorBackground
21
22
  }, ( localize(
22
- 2608,
23
+ 2682,
23
24
  "Background color of the agent sessions window shell and gradient base."
24
25
  )));
25
26
  const agentsPanelBackground = registerColor("agentsPanel.background", {
@@ -28,11 +29,11 @@ const agentsPanelBackground = registerColor("agentsPanel.background", {
28
29
  hcDark: SIDE_BAR_BACKGROUND,
29
30
  hcLight: SIDE_BAR_BACKGROUND
30
31
  }, ( localize(
31
- 2609,
32
+ 2683,
32
33
  "Background color of the card panels (chat, files, terminal) in the agent sessions window."
33
34
  )));
34
35
  const agentsPanelForeground = registerColor("agentsPanel.foreground", SIDE_BAR_FOREGROUND, ( localize(
35
- 2610,
36
+ 2684,
36
37
  "Foreground color of the card panels (chat, files, terminal) in the agent sessions window."
37
38
  )));
38
39
  registerColor("agentsPanel.border", {
@@ -41,78 +42,90 @@ registerColor("agentsPanel.border", {
41
42
  hcDark: contrastBorder,
42
43
  hcLight: contrastBorder
43
44
  }, ( localize(
44
- 2611,
45
+ 2685,
45
46
  "Border color of the card panels (chat, files, terminal) in the agent sessions window."
46
47
  )));
47
48
  registerColor("agentsGradient.tintColor", buttonBackground, ( localize(
48
- 2612,
49
+ 2686,
49
50
  "Tint color used in the background gradient of the agent sessions window shell."
50
51
  )));
52
+ registerColor("agentFeedbackEditorWidget.background", {
53
+ dark: ( lighten(editorWidgetBackground, 0.08)),
54
+ light: ( darken(editorWidgetBackground, 0.04)),
55
+ hcDark: Color.black,
56
+ hcLight: Color.white
57
+ }, ( localize(2687, "Background color of the agent feedback widget shown in the editor.")));
58
+ registerColor("agentFeedbackEditorWidget.border", {
59
+ dark: ( transparent(foreground, 0.35)),
60
+ light: ( transparent(foreground, 0.35)),
61
+ hcDark: contrastBorder,
62
+ hcLight: contrastBorder
63
+ }, ( localize(2688, "Border color of the agent feedback widget shown in the editor.")));
51
64
  registerColor("agentFeedbackInputWidget.border", {
52
65
  dark: editorWidgetBorder,
53
66
  light: editorWidgetBorder,
54
67
  hcDark: contrastBorder,
55
68
  hcLight: contrastBorder
56
69
  }, ( localize(
57
- 2613,
70
+ 2689,
58
71
  "Border color of the agent feedback input widget shown in the editor."
59
72
  )));
60
73
  registerColor("agentsUpdateButton.downloadingBackground", ( transparent(buttonBackground, 0.4)), ( localize(
61
- 2614,
74
+ 2690,
62
75
  "Background color of the update button to show download progress in the agent sessions window."
63
76
  )));
64
77
  registerColor("agentsUpdateButton.downloadedBackground", ( transparent(buttonBackground, 0.7)), ( localize(
65
- 2615,
78
+ 2691,
66
79
  "Background color of the update button when download is complete in the agent sessions window."
67
80
  )));
68
81
  registerColor("agentsChatInput.background", inputBackground, ( localize(
69
- 2616,
82
+ 2692,
70
83
  "Background color of the chat input field in the agent sessions window."
71
84
  )));
72
85
  registerColor("agentsChatInput.foreground", inputForeground, ( localize(
73
- 2617,
86
+ 2693,
74
87
  "Foreground color of the chat input field in the agent sessions window."
75
88
  )));
76
- registerColor("agentsChatInput.border", inputBorder, ( localize(2618, "Border color of the chat input field in the agent sessions window.")));
89
+ registerColor("agentsChatInput.border", inputBorder, ( localize(2694, "Border color of the chat input field in the agent sessions window.")));
77
90
  registerColor("agentsChatInput.focusBorder", focusBorder, ( localize(
78
- 2619,
91
+ 2695,
79
92
  "Border color of the chat input field when focused in the agent sessions window."
80
93
  )));
81
94
  registerColor(
82
95
  "agentsChatInput.placeholderForeground",
83
96
  inputPlaceholderForeground,
84
97
  ( localize(
85
- 2620,
98
+ 2696,
86
99
  "Placeholder text color in the chat input field in the agent sessions window."
87
100
  ))
88
101
  );
89
102
  registerColor("agentsNewSessionButton.background", "#00000000", ( localize(
90
- 2621,
103
+ 2697,
91
104
  "Background color of the New Session button in the agent sessions sidebar."
92
105
  )));
93
106
  registerColor("agentsNewSessionButton.foreground", SIDE_BAR_FOREGROUND, ( localize(
94
- 2622,
107
+ 2698,
95
108
  "Foreground color of the New Session button in the agent sessions sidebar."
96
109
  )));
97
110
  registerColor("agentsNewSessionButton.border", buttonSecondaryBorder, ( localize(
98
- 2623,
111
+ 2699,
99
112
  "Border color of the New Session button in the agent sessions sidebar."
100
113
  )));
101
114
  registerColor(
102
115
  "agentsNewSessionButton.hoverBackground",
103
116
  toolbarHoverBackground,
104
117
  ( localize(
105
- 2624,
118
+ 2700,
106
119
  "Background color of the New Session button when hovered in the agent sessions sidebar."
107
120
  ))
108
121
  );
109
- registerColor("agentsBadge.background", ACTIVITY_BAR_BADGE_BACKGROUND, ( localize(2625, "Background color of badges in the agent sessions window.")));
110
- registerColor("agentsBadge.foreground", ACTIVITY_BAR_BADGE_FOREGROUND, ( localize(2626, "Foreground color of badges in the agent sessions window.")));
122
+ registerColor("agentsBadge.background", ACTIVITY_BAR_BADGE_BACKGROUND, ( localize(2701, "Background color of badges in the agent sessions window.")));
123
+ registerColor("agentsBadge.foreground", ACTIVITY_BAR_BADGE_FOREGROUND, ( localize(2702, "Foreground color of badges in the agent sessions window.")));
111
124
  registerColor(
112
125
  "agentsUnreadBadge.background",
113
126
  ACTIVITY_BAR_BADGE_BACKGROUND,
114
127
  ( localize(
115
- 2627,
128
+ 2703,
116
129
  "Background color of the unread sessions count badge on the sidebar toggle."
117
130
  ))
118
131
  );
@@ -120,24 +133,24 @@ registerColor(
120
133
  "agentsUnreadBadge.foreground",
121
134
  ACTIVITY_BAR_BADGE_FOREGROUND,
122
135
  ( localize(
123
- 2628,
136
+ 2704,
124
137
  "Foreground color of the unread sessions count badge on the sidebar toggle."
125
138
  ))
126
139
  );
127
140
  registerColor("activeSessionView.background", agentsPanelBackground, ( localize(
128
- 2629,
141
+ 2705,
129
142
  "Background color of an active session view in the agent sessions window."
130
143
  )));
131
144
  registerColor("inactiveSessionView.background", agentsBackground, ( localize(
132
- 2630,
145
+ 2706,
133
146
  "Background color of an inactive session view in the agent sessions window."
134
147
  )));
135
148
  registerColor("activeSessionView.foreground", agentsPanelForeground, ( localize(
136
- 2631,
149
+ 2707,
137
150
  "Foreground color of an active session view in the agent sessions window."
138
151
  )));
139
152
  registerColor("inactiveSessionView.foreground", agentsPanelForeground, ( localize(
140
- 2632,
153
+ 2708,
141
154
  "Foreground color of an inactive session view in the agent sessions window."
142
155
  )));
143
156
 
@@ -31,19 +31,19 @@ const viewsContainerSchema = {
31
31
  properties: {
32
32
  id: {
33
33
  description: ( localize(
34
- 2745,
34
+ 2821,
35
35
  "Unique id used to identify the container in which views can be contributed using 'views' contribution point"
36
36
  )),
37
37
  type: "string",
38
38
  pattern: "^[a-zA-Z0-9_-]+$"
39
39
  },
40
40
  title: {
41
- description: ( localize(2746, "Human readable string used to render the container")),
41
+ description: ( localize(2822, "Human readable string used to render the container")),
42
42
  type: "string"
43
43
  },
44
44
  icon: {
45
45
  description: ( localize(
46
- 2747,
46
+ 2823,
47
47
  "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."
48
48
  )),
49
49
  type: "string"
@@ -52,21 +52,21 @@ const viewsContainerSchema = {
52
52
  required: ["id", "title", "icon"]
53
53
  };
54
54
  const viewsContainersContribution = {
55
- description: ( localize(2748, "Contributes views containers to the editor")),
55
+ description: ( localize(2824, "Contributes views containers to the editor")),
56
56
  type: "object",
57
57
  properties: {
58
58
  "activitybar": {
59
- description: ( localize(2749, "Contribute views containers to Activity Bar")),
59
+ description: ( localize(2825, "Contribute views containers to Activity Bar")),
60
60
  type: "array",
61
61
  items: viewsContainerSchema
62
62
  },
63
63
  "panel": {
64
- description: ( localize(2750, "Contribute views containers to Panel")),
64
+ description: ( localize(2826, "Contribute views containers to Panel")),
65
65
  type: "array",
66
66
  items: viewsContainerSchema
67
67
  },
68
68
  "secondarySidebar": {
69
- description: ( localize(2751, "Contribute views containers to Secondary Side Bar")),
69
+ description: ( localize(2827, "Contribute views containers to Secondary Side Bar")),
70
70
  type: "array",
71
71
  items: viewsContainerSchema
72
72
  }
@@ -97,72 +97,72 @@ const viewDescriptor = {
97
97
  properties: {
98
98
  type: {
99
99
  markdownDescription: ( localize(
100
- 2752,
100
+ 2828,
101
101
  "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`."
102
102
  )),
103
103
  type: "string",
104
104
  enum: ["tree", "webview"],
105
- markdownEnumDescriptions: [( localize(2753, "The view is backed by a `TreeView` created by `createTreeView`.")), ( localize(
106
- 2754,
105
+ markdownEnumDescriptions: [( localize(2829, "The view is backed by a `TreeView` created by `createTreeView`.")), ( localize(
106
+ 2830,
107
107
  "The view is backed by a `WebviewView` registered by `registerWebviewViewProvider`."
108
108
  ))]
109
109
  },
110
110
  id: {
111
111
  markdownDescription: ( localize(
112
- 2755,
112
+ 2831,
113
113
  "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`."
114
114
  )),
115
115
  type: "string"
116
116
  },
117
117
  name: {
118
- description: ( localize(2756, "The human-readable name of the view. Will be shown")),
118
+ description: ( localize(2832, "The human-readable name of the view. Will be shown")),
119
119
  type: "string"
120
120
  },
121
121
  when: {
122
- description: ( localize(2757, "Condition which must be true to show this view")),
122
+ description: ( localize(2833, "Condition which must be true to show this view")),
123
123
  type: "string"
124
124
  },
125
125
  icon: {
126
126
  description: ( localize(
127
- 2758,
127
+ 2834,
128
128
  "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."
129
129
  )),
130
130
  type: "string"
131
131
  },
132
132
  contextualTitle: {
133
133
  description: ( localize(
134
- 2759,
134
+ 2835,
135
135
  "Human-readable context for when the view is moved out of its original location. By default, the view's container name will be used."
136
136
  )),
137
137
  type: "string"
138
138
  },
139
139
  visibility: {
140
140
  description: ( localize(
141
- 2760,
141
+ 2836,
142
142
  "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."
143
143
  )),
144
144
  type: "string",
145
145
  enum: ["visible", "hidden", "collapsed"],
146
146
  default: "visible",
147
147
  enumDescriptions: [( localize(
148
- 2761,
148
+ 2837,
149
149
  "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`."
150
150
  )), ( localize(
151
- 2762,
151
+ 2838,
152
152
  "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."
153
- )), ( localize(2763, "The view will show in the view container, but will be collapsed."))]
153
+ )), ( localize(2839, "The view will show in the view container, but will be collapsed."))]
154
154
  },
155
155
  initialSize: {
156
156
  type: "number",
157
157
  description: ( localize(
158
- 2764,
158
+ 2840,
159
159
  "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."
160
160
  ))
161
161
  },
162
162
  accessibilityHelpContent: {
163
163
  type: "string",
164
164
  markdownDescription: ( localize(
165
- 2765,
165
+ 2841,
166
166
  "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."
167
167
  ))
168
168
  }
@@ -174,25 +174,25 @@ const remoteViewDescriptor = {
174
174
  properties: {
175
175
  id: {
176
176
  description: ( localize(
177
- 2755,
177
+ 2831,
178
178
  "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`."
179
179
  )),
180
180
  type: "string"
181
181
  },
182
182
  name: {
183
- description: ( localize(2756, "The human-readable name of the view. Will be shown")),
183
+ description: ( localize(2832, "The human-readable name of the view. Will be shown")),
184
184
  type: "string"
185
185
  },
186
186
  when: {
187
- description: ( localize(2757, "Condition which must be true to show this view")),
187
+ description: ( localize(2833, "Condition which must be true to show this view")),
188
188
  type: "string"
189
189
  },
190
190
  group: {
191
- description: ( localize(2766, "Nested group in the viewlet")),
191
+ description: ( localize(2842, "Nested group in the viewlet")),
192
192
  type: "string"
193
193
  },
194
194
  remoteName: {
195
- description: ( localize(2767, "The name of the remote type associated with this view")),
195
+ description: ( localize(2843, "The name of the remote type associated with this view")),
196
196
  type: ["string", "array"],
197
197
  items: {
198
198
  type: "string"
@@ -201,36 +201,36 @@ const remoteViewDescriptor = {
201
201
  }
202
202
  };
203
203
  const viewsContribution = {
204
- description: ( localize(2768, "Contributes views to the editor")),
204
+ description: ( localize(2844, "Contributes views to the editor")),
205
205
  type: "object",
206
206
  properties: {
207
207
  "explorer": {
208
- description: ( localize(2769, "Contributes views to Explorer container in the Activity bar")),
208
+ description: ( localize(2845, "Contributes views to Explorer container in the Activity bar")),
209
209
  type: "array",
210
210
  items: viewDescriptor,
211
211
  default: []
212
212
  },
213
213
  "debug": {
214
- description: ( localize(2770, "Contributes views to Debug container in the Activity bar")),
214
+ description: ( localize(2846, "Contributes views to Debug container in the Activity bar")),
215
215
  type: "array",
216
216
  items: viewDescriptor,
217
217
  default: []
218
218
  },
219
219
  "scm": {
220
- description: ( localize(2771, "Contributes views to SCM container in the Activity bar")),
220
+ description: ( localize(2847, "Contributes views to SCM container in the Activity bar")),
221
221
  type: "array",
222
222
  items: viewDescriptor,
223
223
  default: []
224
224
  },
225
225
  "test": {
226
- description: ( localize(2772, "Contributes views to Test container in the Activity bar")),
226
+ description: ( localize(2848, "Contributes views to Test container in the Activity bar")),
227
227
  type: "array",
228
228
  items: viewDescriptor,
229
229
  default: []
230
230
  },
231
231
  "remote": {
232
232
  description: ( localize(
233
- 2773,
233
+ 2849,
234
234
  "Contributes views to Remote container in the Activity bar. To contribute to this container, the 'contribViewsRemote' API proposal must be enabled."
235
235
  )),
236
236
  type: "array",
@@ -239,7 +239,7 @@ const viewsContribution = {
239
239
  }
240
240
  },
241
241
  additionalProperties: {
242
- description: ( localize(2774, "Contributes views to contributed views container")),
242
+ description: ( localize(2850, "Contributes views to contributed views container")),
243
243
  type: "array",
244
244
  items: viewDescriptor,
245
245
  default: []
@@ -364,13 +364,13 @@ let ViewsExtensionHandler = class ViewsExtensionHandler {
364
364
  }
365
365
  isValidViewsContainer(viewsContainersDescriptors, collector) {
366
366
  if (!Array.isArray(viewsContainersDescriptors)) {
367
- collector.error(( localize(2775, "views containers must be an array")));
367
+ collector.error(( localize(2851, "views containers must be an array")));
368
368
  return false;
369
369
  }
370
370
  for (const descriptor of viewsContainersDescriptors) {
371
371
  if (typeof descriptor.id !== "string" && isFalsyOrWhitespace(descriptor.id)) {
372
372
  collector.error(( localize(
373
- 2776,
373
+ 2852,
374
374
  "property `{0}` is mandatory and must be of type `string` with non-empty value. Only alphanumeric characters, '_', and '-' are allowed.",
375
375
  "id"
376
376
  )));
@@ -378,23 +378,23 @@ let ViewsExtensionHandler = class ViewsExtensionHandler {
378
378
  }
379
379
  if (!(/^[a-z0-9_-]+$/i.test(descriptor.id))) {
380
380
  collector.error(( localize(
381
- 2776,
381
+ 2852,
382
382
  "property `{0}` is mandatory and must be of type `string` with non-empty value. Only alphanumeric characters, '_', and '-' are allowed.",
383
383
  "id"
384
384
  )));
385
385
  return false;
386
386
  }
387
387
  if (typeof descriptor.title !== "string") {
388
- collector.error(( localize(2777, "property `{0}` is mandatory and must be of type `string`", "title")));
388
+ collector.error(( localize(2853, "property `{0}` is mandatory and must be of type `string`", "title")));
389
389
  return false;
390
390
  }
391
391
  if (typeof descriptor.icon !== "string") {
392
- collector.error(( localize(2777, "property `{0}` is mandatory and must be of type `string`", "icon")));
392
+ collector.error(( localize(2853, "property `{0}` is mandatory and must be of type `string`", "icon")));
393
393
  return false;
394
394
  }
395
395
  if (isFalsyOrWhitespace(descriptor.title)) {
396
396
  collector.warn(( localize(
397
- 2778,
397
+ 2854,
398
398
  "property `{0}` is mandatory and must be of type `string` with non-empty value",
399
399
  "title"
400
400
  )));
@@ -480,7 +480,7 @@ let ViewsExtensionHandler = class ViewsExtensionHandler {
480
480
  }
481
481
  if (key === "remote" && !isProposedApiEnabled(extension.description)) {
482
482
  collector.warn(( localize(
483
- 2779,
483
+ 2855,
484
484
  "View container '{0}' requires 'enabledApiProposals: [\"contribViewsRemote\"]' to be added to 'Remote'.",
485
485
  key
486
486
  )));
@@ -488,7 +488,7 @@ let ViewsExtensionHandler = class ViewsExtensionHandler {
488
488
  }
489
489
  if (key === "agentSessions" && !isProposedApiEnabled(extension.description)) {
490
490
  collector.warn(( localize(
491
- 2780,
491
+ 2856,
492
492
  "View container '{0}' requires 'enabledApiProposals: [\"chatSessionsProvider\"]'.",
493
493
  key
494
494
  )));
@@ -498,14 +498,14 @@ let ViewsExtensionHandler = class ViewsExtensionHandler {
498
498
  const container = viewContainer || this.getDefaultViewContainer();
499
499
  if (!viewContainer) {
500
500
  collector.warn(( localize(
501
- 2781,
501
+ 2857,
502
502
  "View container '{0}' does not exist and all views registered to it will be added to 'Explorer'.",
503
503
  key
504
504
  )));
505
505
  }
506
506
  if (!container) {
507
507
  collector.warn(( localize(
508
- 2782,
508
+ 2858,
509
509
  "'Explorer' view container does not exist and all views registered to '{0}' will not be added to the UI.",
510
510
  key
511
511
  )));
@@ -515,11 +515,11 @@ let ViewsExtensionHandler = class ViewsExtensionHandler {
515
515
  for (let index = 0; index < value.length; index++) {
516
516
  const item = value[index];
517
517
  if (( viewIds.has(item.id))) {
518
- collector.error(( localize(2783, "Cannot register multiple views with same id `{0}`", item.id)));
518
+ collector.error(( localize(2859, "Cannot register multiple views with same id `{0}`", item.id)));
519
519
  continue;
520
520
  }
521
521
  if (this.viewsRegistry.getView(item.id) !== null) {
522
- collector.error(( localize(2784, "A view with id `{0}` is already registered.", item.id)));
522
+ collector.error(( localize(2860, "A view with id `{0}` is already registered.", item.id)));
523
523
  continue;
524
524
  }
525
525
  const order = ExtensionIdentifier.equals(extension.description.identifier, container.extensionId) ? index + 1 : container.viewOrderDelegate ? container.viewOrderDelegate.getOrder(item.group) : undefined;
@@ -530,7 +530,7 @@ let ViewsExtensionHandler = class ViewsExtensionHandler {
530
530
  const initialVisibility = this.convertInitialVisibility(item.visibility);
531
531
  const type = this.getViewType(item.type);
532
532
  if (!type) {
533
- collector.error(( localize(2785, "Unknown view type `{0}`.", item.type)));
533
+ collector.error(( localize(2861, "Unknown view type `{0}`.", item.type)));
534
534
  continue;
535
535
  }
536
536
  let weight = undefined;
@@ -622,29 +622,29 @@ let ViewsExtensionHandler = class ViewsExtensionHandler {
622
622
  }
623
623
  isValidViewDescriptors(viewDescriptors, collector) {
624
624
  if (!Array.isArray(viewDescriptors)) {
625
- collector.error(( localize(2786, "views must be an array")));
625
+ collector.error(( localize(2862, "views must be an array")));
626
626
  return false;
627
627
  }
628
628
  for (const descriptor of viewDescriptors) {
629
629
  if (typeof descriptor.id !== "string") {
630
- collector.error(( localize(2777, "property `{0}` is mandatory and must be of type `string`", "id")));
630
+ collector.error(( localize(2853, "property `{0}` is mandatory and must be of type `string`", "id")));
631
631
  return false;
632
632
  }
633
633
  if (typeof descriptor.name !== "string") {
634
- collector.error(( localize(2777, "property `{0}` is mandatory and must be of type `string`", "name")));
634
+ collector.error(( localize(2853, "property `{0}` is mandatory and must be of type `string`", "name")));
635
635
  return false;
636
636
  }
637
637
  if (descriptor.when && typeof descriptor.when !== "string") {
638
- collector.error(( localize(2787, "property `{0}` can be omitted or must be of type `string`", "when")));
638
+ collector.error(( localize(2863, "property `{0}` can be omitted or must be of type `string`", "when")));
639
639
  return false;
640
640
  }
641
641
  if (descriptor.icon && typeof descriptor.icon !== "string") {
642
- collector.error(( localize(2787, "property `{0}` can be omitted or must be of type `string`", "icon")));
642
+ collector.error(( localize(2863, "property `{0}` can be omitted or must be of type `string`", "icon")));
643
643
  return false;
644
644
  }
645
645
  if (descriptor.contextualTitle && typeof descriptor.contextualTitle !== "string") {
646
646
  collector.error(( localize(
647
- 2787,
647
+ 2863,
648
648
  "property `{0}` can be omitted or must be of type `string`",
649
649
  "contextualTitle"
650
650
  )));
@@ -652,7 +652,7 @@ let ViewsExtensionHandler = class ViewsExtensionHandler {
652
652
  }
653
653
  if (descriptor.visibility && !this.convertInitialVisibility(descriptor.visibility)) {
654
654
  collector.error(( localize(
655
- 2788,
655
+ 2864,
656
656
  "property `{0}` can be omitted or must be one of {1}",
657
657
  "visibility",
658
658
  ( Object.values(InitialVisibility)).join(", ")
@@ -714,7 +714,7 @@ class ViewContainersDataRenderer extends Disposable {
714
714
  dispose: () => {}
715
715
  };
716
716
  }
717
- const headers = [( localize(2789, "ID")), ( localize(2790, "Title")), ( localize(2791, "Where"))];
717
+ const headers = [( localize(2865, "ID")), ( localize(2866, "Title")), ( localize(2867, "Where"))];
718
718
  const rows = ( viewContainers.sort((a, b) => a.id.localeCompare(b.id)).map(viewContainer => {
719
719
  return [viewContainer.id, viewContainer.title, viewContainer.location];
720
720
  }));
@@ -754,7 +754,7 @@ class ViewsDataRenderer extends Disposable {
754
754
  dispose: () => {}
755
755
  };
756
756
  }
757
- const headers = [( localize(2792, "ID")), ( localize(2793, "Name")), ( localize(2791, "Where"))];
757
+ const headers = [( localize(2868, "ID")), ( localize(2869, "Name")), ( localize(2867, "Where"))];
758
758
  const rows = ( views.sort((a, b) => a.id.localeCompare(b.id)).map(view => {
759
759
  return [view.id, view.name, view.location];
760
760
  }));
@@ -769,7 +769,7 @@ class ViewsDataRenderer extends Disposable {
769
769
  }
770
770
  ( Registry.as(Extensions$2.ExtensionFeaturesRegistry)).registerExtensionFeature({
771
771
  id: "viewsContainers",
772
- label: ( localize(2794, "View Containers")),
772
+ label: ( localize(2870, "View Containers")),
773
773
  access: {
774
774
  canToggle: false
775
775
  },
@@ -777,7 +777,7 @@ class ViewsDataRenderer extends Disposable {
777
777
  });
778
778
  ( Registry.as(Extensions$2.ExtensionFeaturesRegistry)).registerExtensionFeature({
779
779
  id: "views",
780
- label: ( localize(2795, "Views")),
780
+ label: ( localize(2871, "Views")),
781
781
  access: {
782
782
  canToggle: false
783
783
  },