@codingame/monaco-vscode-scm-service-override 31.0.1 → 32.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-scm-service-override",
3
- "version": "31.0.1",
3
+ "version": "32.0.0",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - scm service-override",
6
6
  "keywords": [],
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-api": "31.0.1"
18
+ "@codingame/monaco-vscode-api": "32.0.0"
19
19
  },
20
20
  "main": "index.js",
21
21
  "module": "index.js",
@@ -126,7 +126,7 @@ let SCMActiveRepositoryController = class SCMActiveRepositoryController extends
126
126
  if (count === 0) {
127
127
  return;
128
128
  }
129
- const badge = ( new NumberBadge(count, num => ( localize(12343, "{0} pending changes", num))));
129
+ const badge = ( new NumberBadge(count, num => ( localize(12648, "{0} pending changes", num))));
130
130
  store.add(this.activityService.showViewActivity(VIEW_PANE_ID, {
131
131
  badge
132
132
  }));
@@ -141,7 +141,7 @@ let SCMActiveRepositoryController = class SCMActiveRepositoryController extends
141
141
  const tooltip = `${label}${command.tooltip ? ` - ${command.tooltip}` : ""}`;
142
142
  const genericCommandName = getStatusBarCommandGenericName(command);
143
143
  const statusbarEntry = {
144
- name: ( localize(12344, "Source Control")) + (genericCommandName ? ` ${genericCommandName}` : ""),
144
+ name: ( localize(12649, "Source Control")) + (genericCommandName ? ` ${genericCommandName}` : ""),
145
145
  text: command.title,
146
146
  ariaLabel: tooltip,
147
147
  tooltip,
@@ -169,7 +169,7 @@ let SCMActiveRepositoryController = class SCMActiveRepositoryController extends
169
169
  if (this.scmViewService.repositories.length > 1) {
170
170
  const icon = getSCMRepositoryIcon(activeRepository, activeRepository.repository);
171
171
  const repositoryStatusbarEntry = {
172
- name: ( localize(12345, "Source Control Provider")),
172
+ name: ( localize(12650, "Source Control Provider")),
173
173
  text: `$(${icon.id}) ${activeRepository.repository.provider.name}`,
174
174
  ariaLabel: label,
175
175
  tooltip: label,
@@ -202,8 +202,8 @@ let SCMActiveResourceContextKeyController = class SCMActiveResourceContextKeyCon
202
202
  this.scmService = scmService;
203
203
  this.uriIdentityService = uriIdentityService;
204
204
  this._onDidRepositoryChange = ( new Emitter());
205
- const activeResourceHasChangesContextKey = ( new RawContextKey("scmActiveResourceHasChanges", false, ( localize(12346, "Whether the active resource has changes"))));
206
- const activeResourceRepositoryContextKey = ( new RawContextKey("scmActiveResourceRepository", undefined, ( localize(12347, "The active resource's repository"))));
205
+ const activeResourceHasChangesContextKey = ( new RawContextKey("scmActiveResourceHasChanges", false, ( localize(12651, "Whether the active resource has changes"))));
206
+ const activeResourceRepositoryContextKey = ( new RawContextKey("scmActiveResourceRepository", undefined, ( localize(12652, "The active resource's repository"))));
207
207
  this._repositories = observableFromEvent(
208
208
  this,
209
209
  Event.any(this.scmService.onDidAddRepository, this.scmService.onDidRemoveRepository),
@@ -313,7 +313,7 @@ let SCMMenus = class SCMMenus {
313
313
  };
314
314
  SCMMenus = ( __decorate([( __param(0, ISCMService)), ( __param(1, IInstantiationService))], SCMMenus));
315
315
  MenuRegistry.appendMenuItem(MenuId.SCMResourceContext, {
316
- title: ( localize(12348, "Share")),
316
+ title: ( localize(12653, "Share")),
317
317
  submenu: MenuId.SCMResourceContextShare,
318
318
  group: "45_share",
319
319
  order: 3
@@ -1,8 +1,7 @@
1
1
 
2
2
  import { localize, localize2 } from '@codingame/monaco-vscode-api/vscode/vs/nls';
3
3
  import { Registry } from '@codingame/monaco-vscode-api/vscode/vs/platform/registry/common/platform';
4
- import { Extensions, registerWorkbenchContribution2, WorkbenchPhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions';
5
- import { QuickDiffWorkbenchController } from './quickDiffDecorator.js';
4
+ import { Extensions as Extensions$1, registerWorkbenchContribution2, WorkbenchPhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions';
6
5
  import { VIEWLET_ID, VIEW_PANE_ID, HISTORY_VIEW_PANE_ID, REPOSITORIES_VIEW_PANE_ID } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/scm/common/scm';
7
6
  import { ISCMService, ISCMViewService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/scm/common/scm.service';
8
7
  import { KeyMod, KeyCode } from '@codingame/monaco-vscode-api/vscode/vs/base/common/keyCodes';
@@ -15,9 +14,7 @@ import { IContextKeyService } from '@codingame/monaco-vscode-api/vscode/vs/platf
15
14
  import { CommandsRegistry } from '@codingame/monaco-vscode-api/vscode/vs/platform/commands/common/commands';
16
15
  import { ICommandService } from '@codingame/monaco-vscode-api/vscode/vs/platform/commands/common/commands.service';
17
16
  import { KeybindingsRegistry, KeybindingWeight } from '@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybindingsRegistry';
18
- import '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/extensions';
19
- import '../common/scmService.js';
20
- import { Extensions as Extensions$1, ViewContainerLocation } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/views';
17
+ import { Extensions, ViewContainerLocation } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/views';
21
18
  import { SCMViewPaneContainer } from './scmViewPaneContainer.js';
22
19
  import { SyncDescriptor } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/descriptors';
23
20
  import { ModesRegistry } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/modesRegistry';
@@ -30,7 +27,6 @@ import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/pl
30
27
  import { Context } from '@codingame/monaco-vscode-api/vscode/vs/editor/contrib/suggest/browser/suggest';
31
28
  import { InlineCompletionContextKeys } from '@codingame/monaco-vscode-api/vscode/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys';
32
29
  import { WorkspaceTrustContext, MANAGE_TRUST_COMMAND_ID } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/workspace/common/workspace';
33
- import '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/scm/common/quickDiffService';
34
30
  import { getActiveElement, isActiveElement } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/dom';
35
31
  import { SCMWorkingSetController } from './workingSet.js';
36
32
  import { IViewsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/views/common/viewsService.service';
@@ -38,9 +34,6 @@ import { WorkbenchList } from '@codingame/monaco-vscode-api/vscode/vs/platform/l
38
34
  import { IListService } from '@codingame/monaco-vscode-api/vscode/vs/platform/list/browser/listService.service';
39
35
  import { isSCMRepository } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/scm/browser/util';
40
36
  import { SCMHistoryViewPane } from './scmHistoryViewPane.js';
41
- import './quickDiffModel.js';
42
- import { QuickDiffEditorController } from './quickDiffWidget.js';
43
- import { registerEditorContribution, EditorContributionInstantiation } from '@codingame/monaco-vscode-api/vscode/vs/editor/browser/editorExtensions';
44
37
  import { RemoteNameContext, ResourceContextKey } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contextkeys';
45
38
  import { AccessibleViewRegistry } from '@codingame/monaco-vscode-api/vscode/vs/platform/accessibility/browser/accessibleViewRegistry';
46
39
  import { SCMAccessibilityHelp } from './scmAccessibilityHelp.js';
@@ -57,16 +50,10 @@ ModesRegistry.registerLanguage({
57
50
  aliases: [],
58
51
  mimetypes: ["text/x-scm-input"]
59
52
  });
60
- ( Registry.as(Extensions.Workbench)).registerWorkbenchContribution(QuickDiffWorkbenchController, LifecyclePhase.Restored);
61
- registerEditorContribution(
62
- QuickDiffEditorController.ID,
63
- QuickDiffEditorController,
64
- EditorContributionInstantiation.AfterFirstRender
65
- );
66
- const sourceControlViewIcon = registerIcon("source-control-view-icon", Codicon.sourceControl, ( localize(12365, "View icon of the Source Control view.")));
67
- const viewContainer = ( Registry.as(Extensions$1.ViewContainersRegistry)).registerViewContainer({
53
+ const sourceControlViewIcon = registerIcon("source-control-view-icon", Codicon.sourceControl, ( localize(12654, "View icon of the Source Control view.")));
54
+ const viewContainer = ( Registry.as(Extensions.ViewContainersRegistry)).registerViewContainer({
68
55
  id: VIEWLET_ID,
69
- title: ( localize2(12366, "Source Control")),
56
+ title: ( localize2(12655, "Source Control")),
70
57
  ctorDescriptor: ( new SyncDescriptor(SCMViewPaneContainer)),
71
58
  storageId: "workbench.scm.views.state",
72
59
  icon: sourceControlViewIcon,
@@ -76,26 +63,26 @@ const viewContainer = ( Registry.as(Extensions$1.ViewContainersRegistry)).regist
76
63
  }, ViewContainerLocation.Sidebar, {
77
64
  doNotRegisterOpenCommand: true
78
65
  });
79
- const viewsRegistry = ( Registry.as(Extensions$1.ViewsRegistry));
80
- const containerTitle = ( localize(12367, "Source Control"));
66
+ const viewsRegistry = ( Registry.as(Extensions.ViewsRegistry));
67
+ const containerTitle = ( localize(12656, "Source Control"));
81
68
  viewsRegistry.registerViewWelcomeContent(VIEW_PANE_ID, {
82
- content: ( localize(12368, "No source control providers registered.")),
69
+ content: ( localize(12657, "No source control providers registered.")),
83
70
  when: "default"
84
71
  });
85
72
  viewsRegistry.registerViewWelcomeContent(VIEW_PANE_ID, {
86
73
  content: ( localize(
87
- 12369,
74
+ 12658,
88
75
  "None of the registered source control providers work in Restricted Mode."
89
76
  )),
90
77
  when: ( ContextKeyExpr.and(( ContextKeyExpr.equals("scm.providerCount", 0)), WorkspaceTrustContext.IsEnabled, ( WorkspaceTrustContext.IsTrusted.toNegated())))
91
78
  });
92
79
  viewsRegistry.registerViewWelcomeContent(VIEW_PANE_ID, {
93
- content: `[${( localize(12370, "Manage Workspace Trust"))}](command:${MANAGE_TRUST_COMMAND_ID})`,
80
+ content: `[${( localize(12659, "Manage Workspace Trust"))}](command:${MANAGE_TRUST_COMMAND_ID})`,
94
81
  when: ( ContextKeyExpr.and(( ContextKeyExpr.equals("scm.providerCount", 0)), WorkspaceTrustContext.IsEnabled, ( WorkspaceTrustContext.IsTrusted.toNegated())))
95
82
  });
96
83
  viewsRegistry.registerViewWelcomeContent(HISTORY_VIEW_PANE_ID, {
97
84
  content: ( localize(
98
- 12371,
85
+ 12660,
99
86
  "The selected source control provider does not have any source control history items."
100
87
  )),
101
88
  when: ( ContextKeys.SCMHistoryItemCount.isEqualTo(0))
@@ -103,8 +90,8 @@ viewsRegistry.registerViewWelcomeContent(HISTORY_VIEW_PANE_ID, {
103
90
  viewsRegistry.registerViews([{
104
91
  id: REPOSITORIES_VIEW_PANE_ID,
105
92
  containerTitle,
106
- name: ( localize2(12372, "Repositories")),
107
- singleViewPaneContainerTitle: ( localize(12373, "Source Control Repositories")),
93
+ name: ( localize2(12661, "Repositories")),
94
+ singleViewPaneContainerTitle: ( localize(12662, "Source Control Repositories")),
108
95
  ctorDescriptor: ( new SyncDescriptor(SCMRepositoriesViewPane)),
109
96
  canToggleVisibility: true,
110
97
  hideByDefault: true,
@@ -117,7 +104,7 @@ viewsRegistry.registerViews([{
117
104
  viewsRegistry.registerViews([{
118
105
  id: VIEW_PANE_ID,
119
106
  containerTitle,
120
- name: ( localize2(12374, "Changes")),
107
+ name: ( localize2(12663, "Changes")),
121
108
  singleViewPaneContainerTitle: containerTitle,
122
109
  ctorDescriptor: ( new SyncDescriptor(SCMViewPane)),
123
110
  canToggleVisibility: true,
@@ -127,7 +114,7 @@ viewsRegistry.registerViews([{
127
114
  containerIcon: sourceControlViewIcon,
128
115
  openCommandActionDescriptor: {
129
116
  id: viewContainer.id,
130
- mnemonicTitle: ( localize(12375, "Source &&Control")),
117
+ mnemonicTitle: ( localize(12664, "Source &&Control")),
131
118
  keybindings: {
132
119
  primary: 0,
133
120
  win: {
@@ -146,8 +133,8 @@ viewsRegistry.registerViews([{
146
133
  viewsRegistry.registerViews([{
147
134
  id: HISTORY_VIEW_PANE_ID,
148
135
  containerTitle,
149
- name: ( localize2(12376, "Graph")),
150
- singleViewPaneContainerTitle: ( localize(12377, "Source Control Graph")),
136
+ name: ( localize2(12665, "Graph")),
137
+ singleViewPaneContainerTitle: ( localize(12666, "Source Control Graph")),
151
138
  ctorDescriptor: ( new SyncDescriptor(SCMHistoryViewPane)),
152
139
  canToggleVisibility: true,
153
140
  canMoveView: true,
@@ -156,8 +143,8 @@ viewsRegistry.registerViews([{
156
143
  when: ( ContextKeyExpr.and(( ContextKeyExpr.has("scm.historyProviderCount")), ( ContextKeyExpr.notEquals("scm.historyProviderCount", 0)))),
157
144
  containerIcon: sourceControlViewIcon
158
145
  }], viewContainer);
159
- ( Registry.as(Extensions.Workbench)).registerWorkbenchContribution(SCMActiveRepositoryController, LifecyclePhase.Restored);
160
- ( Registry.as(Extensions.Workbench)).registerWorkbenchContribution(SCMActiveResourceContextKeyController, LifecyclePhase.Restored);
146
+ ( Registry.as(Extensions$1.Workbench)).registerWorkbenchContribution(SCMActiveRepositoryController, LifecyclePhase.Restored);
147
+ ( Registry.as(Extensions$1.Workbench)).registerWorkbenchContribution(SCMActiveResourceContextKeyController, LifecyclePhase.Restored);
161
148
  registerWorkbenchContribution2(
162
149
  SCMWorkingSetController.ID,
163
150
  SCMWorkingSetController,
@@ -171,32 +158,32 @@ registerWorkbenchContribution2(
171
158
  ( Registry.as(Extensions$2.Configuration)).registerConfiguration({
172
159
  id: "scm",
173
160
  order: 5,
174
- title: ( localize(12378, "Source Control")),
161
+ title: ( localize(12667, "Source Control")),
175
162
  type: "object",
176
163
  scope: ConfigurationScope.RESOURCE,
177
164
  properties: {
178
165
  "scm.diffDecorations": {
179
166
  type: "string",
180
167
  enum: ["all", "gutter", "overview", "minimap", "none"],
181
- enumDescriptions: [( localize(12379, "Show the diff decorations in all available locations.")), ( localize(12380, "Show the diff decorations only in the editor gutter.")), ( localize(12381, "Show the diff decorations only in the overview ruler.")), ( localize(12382, "Show the diff decorations only in the minimap.")), ( localize(12383, "Do not show the diff decorations."))],
168
+ enumDescriptions: [( localize(12668, "Show the diff decorations in all available locations.")), ( localize(12669, "Show the diff decorations only in the editor gutter.")), ( localize(12670, "Show the diff decorations only in the overview ruler.")), ( localize(12671, "Show the diff decorations only in the minimap.")), ( localize(12672, "Do not show the diff decorations."))],
182
169
  default: "all",
183
- description: ( localize(12384, "Controls diff decorations in the editor."))
170
+ description: ( localize(12673, "Controls diff decorations in the editor."))
184
171
  },
185
172
  "scm.diffDecorationsGutterWidth": {
186
173
  type: "number",
187
174
  enum: [1, 2, 3, 4, 5],
188
175
  default: 3,
189
176
  description: ( localize(
190
- 12385,
177
+ 12674,
191
178
  "Controls the width(px) of diff decorations in gutter (added & modified)."
192
179
  ))
193
180
  },
194
181
  "scm.diffDecorationsGutterVisibility": {
195
182
  type: "string",
196
183
  enum: ["always", "hover"],
197
- enumDescriptions: [( localize(12386, "Show the diff decorator in the gutter at all times.")), ( localize(12387, "Show the diff decorator in the gutter only on hover."))],
184
+ enumDescriptions: [( localize(12675, "Show the diff decorator in the gutter at all times.")), ( localize(12676, "Show the diff decorator in the gutter only on hover."))],
198
185
  description: ( localize(
199
- 12388,
186
+ 12677,
200
187
  "Controls the visibility of the Source Control diff decorator in the gutter."
201
188
  )),
202
189
  default: "always"
@@ -204,26 +191,26 @@ registerWorkbenchContribution2(
204
191
  "scm.diffDecorationsGutterAction": {
205
192
  type: "string",
206
193
  enum: ["diff", "none"],
207
- enumDescriptions: [( localize(12389, "Show the inline diff Peek view on click.")), ( localize(12390, "Do nothing."))],
208
- description: ( localize(12391, "Controls the behavior of Source Control diff gutter decorations.")),
194
+ enumDescriptions: [( localize(12678, "Show the inline diff Peek view on click.")), ( localize(12679, "Do nothing."))],
195
+ description: ( localize(12680, "Controls the behavior of Source Control diff gutter decorations.")),
209
196
  default: "diff"
210
197
  },
211
198
  "scm.diffDecorationsGutterPattern": {
212
199
  type: "object",
213
200
  description: ( localize(
214
- 12392,
201
+ 12681,
215
202
  "Controls whether a pattern is used for the diff decorations in gutter."
216
203
  )),
217
204
  additionalProperties: false,
218
205
  properties: {
219
206
  "added": {
220
207
  type: "boolean",
221
- description: ( localize(12393, "Use pattern for the diff decorations in gutter for added lines."))
208
+ description: ( localize(12682, "Use pattern for the diff decorations in gutter for added lines."))
222
209
  },
223
210
  "modified": {
224
211
  type: "boolean",
225
212
  description: ( localize(
226
- 12394,
213
+ 12683,
227
214
  "Use pattern for the diff decorations in gutter for modified lines."
228
215
  ))
229
216
  }
@@ -236,9 +223,9 @@ registerWorkbenchContribution2(
236
223
  "scm.diffDecorationsIgnoreTrimWhitespace": {
237
224
  type: "string",
238
225
  enum: ["true", "false", "inherit"],
239
- enumDescriptions: [( localize(12395, "Ignore leading and trailing whitespace.")), ( localize(12396, "Do not ignore leading and trailing whitespace.")), ( localize(12397, "Inherit from `diffEditor.ignoreTrimWhitespace`."))],
226
+ enumDescriptions: [( localize(12684, "Ignore leading and trailing whitespace.")), ( localize(12685, "Do not ignore leading and trailing whitespace.")), ( localize(12686, "Inherit from `diffEditor.ignoreTrimWhitespace`."))],
240
227
  description: ( localize(
241
- 12398,
228
+ 12687,
242
229
  "Controls whether leading and trailing whitespace is ignored in Source Control diff gutter decorations."
243
230
  )),
244
231
  default: "false"
@@ -246,7 +233,7 @@ registerWorkbenchContribution2(
246
233
  "scm.alwaysShowActions": {
247
234
  type: "boolean",
248
235
  description: ( localize(
249
- 12399,
236
+ 12688,
250
237
  "Controls whether inline actions are always visible in the Source Control view."
251
238
  )),
252
239
  default: false
@@ -254,9 +241,9 @@ registerWorkbenchContribution2(
254
241
  "scm.countBadge": {
255
242
  type: "string",
256
243
  enum: ["all", "focused", "off"],
257
- enumDescriptions: [( localize(12400, "Show the sum of all Source Control Provider count badges.")), ( localize(12401, "Show the count badge of the focused Source Control Provider.")), ( localize(12402, "Disable the Source Control count badge."))],
244
+ enumDescriptions: [( localize(12689, "Show the sum of all Source Control Provider count badges.")), ( localize(12690, "Show the count badge of the focused Source Control Provider.")), ( localize(12691, "Disable the Source Control count badge."))],
258
245
  description: ( localize(
259
- 12403,
246
+ 12692,
260
247
  "Controls the count badge on the Source Control icon on the Activity Bar."
261
248
  )),
262
249
  default: "all"
@@ -264,9 +251,9 @@ registerWorkbenchContribution2(
264
251
  "scm.providerCountBadge": {
265
252
  type: "string",
266
253
  enum: ["hidden", "auto", "visible"],
267
- enumDescriptions: [( localize(12404, "Hide Source Control Provider count badges.")), ( localize(12405, "Only show count badge for Source Control Provider when non-zero.")), ( localize(12406, "Show Source Control Provider count badges."))],
254
+ enumDescriptions: [( localize(12693, "Hide Source Control Provider count badges.")), ( localize(12694, "Only show count badge for Source Control Provider when non-zero.")), ( localize(12695, "Show Source Control Provider count badges."))],
268
255
  markdownDescription: ( localize(
269
- 12407,
256
+ 12696,
270
257
  "Controls the count badges on Source Control Provider headers. These headers appear in the Source Control view when there is more than one provider or when the {0} setting is enabled, and in the Source Control Repositories view.",
271
258
  "`#scm.alwaysShowRepositories#`"
272
259
  )),
@@ -275,16 +262,16 @@ registerWorkbenchContribution2(
275
262
  "scm.defaultViewMode": {
276
263
  type: "string",
277
264
  enum: ["tree", "list"],
278
- enumDescriptions: [( localize(12408, "Show the repository changes as a tree.")), ( localize(12409, "Show the repository changes as a list."))],
279
- description: ( localize(12410, "Controls the default Source Control repository view mode.")),
265
+ enumDescriptions: [( localize(12697, "Show the repository changes as a tree.")), ( localize(12698, "Show the repository changes as a list."))],
266
+ description: ( localize(12699, "Controls the default Source Control repository view mode.")),
280
267
  default: "list"
281
268
  },
282
269
  "scm.defaultViewSortKey": {
283
270
  type: "string",
284
271
  enum: ["name", "path", "status"],
285
- enumDescriptions: [( localize(12411, "Sort the repository changes by file name.")), ( localize(12412, "Sort the repository changes by path.")), ( localize(12413, "Sort the repository changes by Source Control status."))],
272
+ enumDescriptions: [( localize(12700, "Sort the repository changes by file name.")), ( localize(12701, "Sort the repository changes by path.")), ( localize(12702, "Sort the repository changes by Source Control status."))],
286
273
  description: ( localize(
287
- 12414,
274
+ 12703,
288
275
  "Controls the default Source Control repository changes sort order when viewed as a list."
289
276
  )),
290
277
  default: "path"
@@ -292,7 +279,7 @@ registerWorkbenchContribution2(
292
279
  "scm.autoReveal": {
293
280
  type: "boolean",
294
281
  description: ( localize(
295
- 12415,
282
+ 12704,
296
283
  "Controls whether the Source Control view should automatically reveal and select files when opening them."
297
284
  )),
298
285
  default: true
@@ -300,20 +287,20 @@ registerWorkbenchContribution2(
300
287
  "scm.inputFontFamily": {
301
288
  type: "string",
302
289
  markdownDescription: ( localize(
303
- 12416,
290
+ 12705,
304
291
  "Controls the font for the input message. Use `default` for the workbench user interface font family, `editor` for the `#editor.fontFamily#`'s value, or a custom font family."
305
292
  )),
306
293
  default: "default"
307
294
  },
308
295
  "scm.inputFontSize": {
309
296
  type: "number",
310
- markdownDescription: ( localize(12417, "Controls the font size for the input message in pixels.")),
297
+ markdownDescription: ( localize(12706, "Controls the font size for the input message in pixels.")),
311
298
  default: 13
312
299
  },
313
300
  "scm.inputMaxLineCount": {
314
301
  type: "number",
315
302
  markdownDescription: ( localize(
316
- 12418,
303
+ 12707,
317
304
  "Controls the maximum number of lines that the input will auto-grow to."
318
305
  )),
319
306
  minimum: 1,
@@ -323,7 +310,7 @@ registerWorkbenchContribution2(
323
310
  "scm.inputMinLineCount": {
324
311
  type: "number",
325
312
  markdownDescription: ( localize(
326
- 12419,
313
+ 12708,
327
314
  "Controls the minimum number of lines that the input will auto-grow from."
328
315
  )),
329
316
  minimum: 1,
@@ -333,7 +320,7 @@ registerWorkbenchContribution2(
333
320
  "scm.alwaysShowRepositories": {
334
321
  type: "boolean",
335
322
  markdownDescription: ( localize(
336
- 12420,
323
+ 12709,
337
324
  "Controls whether repositories should always be visible in the Source Control view."
338
325
  )),
339
326
  default: false
@@ -342,17 +329,17 @@ registerWorkbenchContribution2(
342
329
  type: "string",
343
330
  enum: ["discovery time", "name", "path"],
344
331
  enumDescriptions: [( localize(
345
- 12421,
332
+ 12710,
346
333
  "Repositories in the Source Control Repositories view are sorted by discovery time. Repositories in the Source Control view are sorted in the order that they were selected."
347
334
  )), ( localize(
348
- 12422,
335
+ 12711,
349
336
  "Repositories in the Source Control Repositories and Source Control views are sorted by repository name."
350
337
  )), ( localize(
351
- 12423,
338
+ 12712,
352
339
  "Repositories in the Source Control Repositories and Source Control views are sorted by repository path."
353
340
  ))],
354
341
  description: ( localize(
355
- 12424,
342
+ 12713,
356
343
  "Controls the sort order of the repositories in the source control repositories view."
357
344
  )),
358
345
  default: "discovery time"
@@ -360,7 +347,7 @@ registerWorkbenchContribution2(
360
347
  "scm.repositories.visible": {
361
348
  type: "number",
362
349
  description: ( localize(
363
- 12425,
350
+ 12714,
364
351
  "Controls how many repositories are visible in the Source Control Repositories section. Set to 0, to be able to manually resize the view."
365
352
  )),
366
353
  default: 10
@@ -368,9 +355,9 @@ registerWorkbenchContribution2(
368
355
  "scm.repositories.selectionMode": {
369
356
  type: "string",
370
357
  enum: ["multiple", "single"],
371
- enumDescriptions: [( localize(12426, "Multiple repositories can be selected at the same time.")), ( localize(12427, "Only one repository can be selected at a time."))],
358
+ enumDescriptions: [( localize(12715, "Multiple repositories can be selected at the same time.")), ( localize(12716, "Only one repository can be selected at a time."))],
372
359
  description: ( localize(
373
- 12428,
360
+ 12717,
374
361
  "Controls the selection mode of the repositories in the Source Control Repositories view."
375
362
  )),
376
363
  default: "multiple"
@@ -378,7 +365,7 @@ registerWorkbenchContribution2(
378
365
  "scm.repositories.explorer": {
379
366
  type: "boolean",
380
367
  markdownDescription: ( localize(
381
- 12429,
368
+ 12718,
382
369
  "Controls whether to show repository artifacts in the Source Control Repositories view. This feature is experimental and only works when {0} is set to `{1}`.",
383
370
  "`#scm.repositories.selectionMode#`",
384
371
  "single"
@@ -389,7 +376,7 @@ registerWorkbenchContribution2(
389
376
  "scm.showActionButton": {
390
377
  type: "boolean",
391
378
  markdownDescription: ( localize(
392
- 12430,
379
+ 12719,
393
380
  "Controls whether an action button can be shown in the Source Control view."
394
381
  )),
395
382
  default: true
@@ -397,7 +384,7 @@ registerWorkbenchContribution2(
397
384
  "scm.showInputActionButton": {
398
385
  type: "boolean",
399
386
  markdownDescription: ( localize(
400
- 12431,
387
+ 12720,
401
388
  "Controls whether an action button can be shown in the Source Control input."
402
389
  )),
403
390
  default: true
@@ -405,7 +392,7 @@ registerWorkbenchContribution2(
405
392
  "scm.workingSets.enabled": {
406
393
  type: "boolean",
407
394
  description: ( localize(
408
- 12432,
395
+ 12721,
409
396
  "Controls whether to store editor working sets when switching between source control history item groups."
410
397
  )),
411
398
  default: false
@@ -414,14 +401,14 @@ registerWorkbenchContribution2(
414
401
  type: "string",
415
402
  enum: ["empty", "current"],
416
403
  enumDescriptions: [( localize(
417
- 12433,
404
+ 12722,
418
405
  "Use an empty working set when switching to a source control history item group that does not have a working set."
419
406
  )), ( localize(
420
- 12434,
407
+ 12723,
421
408
  "Use the current working set when switching to a source control history item group that does not have a working set."
422
409
  ))],
423
410
  description: ( localize(
424
- 12435,
411
+ 12724,
425
412
  "Controls the default working set to use when switching to a source control history item group that does not have a working set."
426
413
  )),
427
414
  default: "current"
@@ -429,7 +416,7 @@ registerWorkbenchContribution2(
429
416
  "scm.compactFolders": {
430
417
  type: "boolean",
431
418
  description: ( localize(
432
- 12436,
419
+ 12725,
433
420
  "Controls whether the Source Control view should render folders in a compact form. In such a form, single child folders will be compressed in a combined tree element."
434
421
  )),
435
422
  default: true
@@ -437,7 +424,7 @@ registerWorkbenchContribution2(
437
424
  "scm.graph.pageOnScroll": {
438
425
  type: "boolean",
439
426
  description: ( localize(
440
- 12437,
427
+ 12726,
441
428
  "Controls whether the Source Control Graph view will load the next page of items when you scroll to the end of the list."
442
429
  )),
443
430
  default: true
@@ -445,7 +432,7 @@ registerWorkbenchContribution2(
445
432
  "scm.graph.pageSize": {
446
433
  type: "number",
447
434
  description: ( localize(
448
- 12438,
435
+ 12727,
449
436
  "The number of items to show in the Source Control Graph view by default and when loading more items."
450
437
  )),
451
438
  minimum: 1,
@@ -456,14 +443,14 @@ registerWorkbenchContribution2(
456
443
  type: "string",
457
444
  enum: ["all", "filter"],
458
445
  enumDescriptions: [( localize(
459
- 12439,
446
+ 12728,
460
447
  "Show badges of all history item groups in the Source Control Graph view."
461
448
  )), ( localize(
462
- 12440,
449
+ 12729,
463
450
  "Show only the badges of history item groups used as a filter in the Source Control Graph view."
464
451
  ))],
465
452
  description: ( localize(
466
- 12441,
453
+ 12730,
467
454
  "Controls which badges are shown in the Source Control Graph view. The badges are shown on the right side of the graph indicating the names of history item groups."
468
455
  )),
469
456
  default: "filter"
@@ -471,7 +458,7 @@ registerWorkbenchContribution2(
471
458
  "scm.graph.showIncomingChanges": {
472
459
  type: "boolean",
473
460
  description: ( localize(
474
- 12442,
461
+ 12731,
475
462
  "Controls whether to show incoming changes in the Source Control Graph view."
476
463
  )),
477
464
  default: true
@@ -479,7 +466,7 @@ registerWorkbenchContribution2(
479
466
  "scm.graph.showOutgoingChanges": {
480
467
  type: "boolean",
481
468
  description: ( localize(
482
- 12443,
469
+ 12732,
483
470
  "Controls whether to show outgoing changes in the Source Control Graph view."
484
471
  )),
485
472
  default: true
@@ -489,7 +476,7 @@ registerWorkbenchContribution2(
489
476
  KeybindingsRegistry.registerCommandAndKeybindingRule({
490
477
  id: "scm.acceptInput",
491
478
  metadata: {
492
- description: ( localize(12444, "Source Control: Accept Input")),
479
+ description: ( localize(12733, "Source Control: Accept Input")),
493
480
  args: []
494
481
  },
495
482
  weight: KeybindingWeight.WorkbenchContrib,
@@ -539,7 +526,7 @@ KeybindingsRegistry.registerCommandAndKeybindingRule({
539
526
  });
540
527
  const viewNextCommitCommand = {
541
528
  description: {
542
- description: ( localize(12445, "Source Control: View Next Commit")),
529
+ description: ( localize(12734, "Source Control: View Next Commit")),
543
530
  args: []
544
531
  },
545
532
  weight: KeybindingWeight.WorkbenchContrib,
@@ -554,7 +541,7 @@ const viewNextCommitCommand = {
554
541
  };
555
542
  const viewPreviousCommitCommand = {
556
543
  description: {
557
- description: ( localize(12446, "Source Control: View Previous Commit")),
544
+ description: ( localize(12735, "Source Control: View Previous Commit")),
558
545
  args: []
559
546
  },
560
547
  weight: KeybindingWeight.WorkbenchContrib,
@@ -624,8 +611,8 @@ CommandsRegistry.registerCommand("scm.openInTerminal", async (accessor, provider
624
611
  CommandsRegistry.registerCommand("scm.setActiveProvider", async accessor => {
625
612
  const instantiationService = accessor.get(IInstantiationService);
626
613
  const scmViewService = accessor.get(ISCMViewService);
627
- const placeHolder = ( localize(12447, "Select the active repository, type to filter all repositories"));
628
- const autoQuickItemDescription = ( localize(12448, "The active repository is updated based on active editor"));
614
+ const placeHolder = ( localize(12736, "Select the active repository, type to filter all repositories"));
615
+ const autoQuickItemDescription = ( localize(12737, "The active repository is updated based on active editor"));
629
616
  const repositoryPicker = instantiationService.createInstance(RepositoryPicker, placeHolder, autoQuickItemDescription);
630
617
  const result = await repositoryPicker.pickRepository();
631
618
  if (result?.repository) {
@@ -637,7 +624,7 @@ MenuRegistry.appendMenuItem(MenuId.SCMSourceControl, {
637
624
  group: "99_terminal",
638
625
  command: {
639
626
  id: "scm.openInTerminal",
640
- title: ( localize(12449, "Open in External Terminal"))
627
+ title: ( localize(12738, "Open in External Terminal"))
641
628
  },
642
629
  when: ( ContextKeyExpr.and(( RemoteNameContext.isEqualTo("")), ( ContextKeyExpr.equals("scmProviderHasRootUri", true)), ( ContextKeyExpr.or(( ContextKeyExpr.equals("config.terminal.sourceControlRepositoriesKind", "external")), ( ContextKeyExpr.equals("config.terminal.sourceControlRepositoriesKind", "both"))))))
643
630
  });
@@ -645,7 +632,7 @@ MenuRegistry.appendMenuItem(MenuId.SCMSourceControl, {
645
632
  group: "99_terminal",
646
633
  command: {
647
634
  id: "scm.openInIntegratedTerminal",
648
- title: ( localize(12450, "Open in Integrated Terminal"))
635
+ title: ( localize(12739, "Open in Integrated Terminal"))
649
636
  },
650
637
  when: ( ContextKeyExpr.and(( ContextKeyExpr.equals("scmProviderHasRootUri", true)), ( ContextKeyExpr.or(( ContextKeyExpr.equals("config.terminal.sourceControlRepositoriesKind", "integrated")), ( ContextKeyExpr.equals("config.terminal.sourceControlRepositoriesKind", "both"))))))
651
638
  });
@@ -695,17 +682,11 @@ KeybindingsRegistry.registerCommandAndKeybindingRule({
695
682
  }
696
683
  }
697
684
  });
698
- MenuRegistry.appendMenuItem(MenuId.EditorLineNumberContext, {
699
- title: ( localize(12451, "Diff Decorations")),
700
- submenu: MenuId.SCMQuickDiffDecorations,
701
- when: ( ContextKeyExpr.or(( ContextKeyExpr.equals("config.scm.diffDecorations", "all")), ( ContextKeyExpr.equals("config.scm.diffDecorations", "gutter")))),
702
- group: "9_quickDiffDecorations"
703
- });
704
685
  registerAction2(class extends Action2 {
705
686
  constructor() {
706
687
  super({
707
688
  id: "scm.editor.triggerSetup",
708
- title: ( localize(12452, "Resolve Conflicts with AI")),
689
+ title: ( localize(12740, "Resolve Conflicts with AI")),
709
690
  icon: Codicon.chatSparkle,
710
691
  f1: false,
711
692
  menu: {