@codingame/monaco-vscode-scm-service-override 12.0.1 → 13.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.
Files changed (29) hide show
  1. package/index.d.ts +1 -1
  2. package/index.js +5 -5
  3. package/package.json +12 -14
  4. package/vscode/src/vs/workbench/contrib/scm/browser/activity.d.ts +11 -11
  5. package/vscode/src/vs/workbench/contrib/scm/browser/activity.js +27 -27
  6. package/vscode/src/vs/workbench/contrib/scm/browser/diff.d.ts +9 -9
  7. package/vscode/src/vs/workbench/contrib/scm/browser/diff.js +16 -16
  8. package/vscode/src/vs/workbench/contrib/scm/browser/media/scm.css.js +1 -1
  9. package/vscode/src/vs/workbench/contrib/scm/browser/menus.d.ts +8 -8
  10. package/vscode/src/vs/workbench/contrib/scm/browser/menus.js +13 -13
  11. package/vscode/src/vs/workbench/contrib/scm/browser/scm.contribution.js +103 -103
  12. package/vscode/src/vs/workbench/contrib/scm/browser/scmHistoryViewPane.d.ts +16 -16
  13. package/vscode/src/vs/workbench/contrib/scm/browser/scmHistoryViewPane.js +96 -96
  14. package/vscode/src/vs/workbench/contrib/scm/browser/scmRepositoriesViewPane.d.ts +11 -11
  15. package/vscode/src/vs/workbench/contrib/scm/browser/scmRepositoriesViewPane.js +21 -21
  16. package/vscode/src/vs/workbench/contrib/scm/browser/scmRepositoryRenderer.d.ts +19 -19
  17. package/vscode/src/vs/workbench/contrib/scm/browser/scmRepositoryRenderer.js +23 -23
  18. package/vscode/src/vs/workbench/contrib/scm/browser/scmViewPane.d.ts +26 -26
  19. package/vscode/src/vs/workbench/contrib/scm/browser/scmViewPane.js +103 -103
  20. package/vscode/src/vs/workbench/contrib/scm/browser/scmViewPaneContainer.d.ts +10 -10
  21. package/vscode/src/vs/workbench/contrib/scm/browser/scmViewPaneContainer.js +13 -13
  22. package/vscode/src/vs/workbench/contrib/scm/browser/scmViewService.d.ts +12 -12
  23. package/vscode/src/vs/workbench/contrib/scm/browser/scmViewService.js +23 -23
  24. package/vscode/src/vs/workbench/contrib/scm/browser/workingSet.d.ts +7 -7
  25. package/vscode/src/vs/workbench/contrib/scm/browser/workingSet.js +16 -16
  26. package/vscode/src/vs/workbench/contrib/scm/common/quickDiffService.d.ts +6 -6
  27. package/vscode/src/vs/workbench/contrib/scm/common/quickDiffService.js +6 -6
  28. package/vscode/src/vs/workbench/contrib/scm/common/scmService.d.ts +8 -8
  29. package/vscode/src/vs/workbench/contrib/scm/common/scmService.js +14 -14
@@ -1,44 +1,44 @@
1
1
 
2
- import { localize, localize2 } from 'vscode/vscode/vs/nls';
3
- import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
4
- import { Extensions, registerWorkbenchContribution2, WorkbenchPhase } from 'vscode/vscode/vs/workbench/common/contributions';
5
- import { DirtyDiffWorkbenchController } from 'vscode/vscode/vs/workbench/contrib/scm/browser/dirtydiffDecorator';
2
+ import { localize, localize2 } from '@codingame/monaco-vscode-api/vscode/vs/nls';
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 { DirtyDiffWorkbenchController } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/scm/browser/dirtydiffDecorator';
6
6
  import { VIEWLET_ID, VIEW_PANE_ID, HISTORY_VIEW_PANE_ID, REPOSITORIES_VIEW_PANE_ID } from '@codingame/monaco-vscode-ff9fa663-eae3-5274-8573-c2b918871e4b-common/vscode/vs/workbench/contrib/scm/common/scm';
7
- import { ISCMService, ISCMViewService } from 'vscode/vscode/vs/workbench/contrib/scm/common/scm.service';
8
- import { KeyMod, KeyCode } from 'vscode/vscode/vs/base/common/keyCodes';
9
- import { MenuRegistry, MenuId } from 'vscode/vscode/vs/platform/actions/common/actions';
7
+ import { ISCMService, ISCMViewService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/scm/common/scm.service';
8
+ import { KeyMod, KeyCode } from '@codingame/monaco-vscode-api/vscode/vs/base/common/keyCodes';
9
+ import { MenuRegistry, MenuId } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
10
10
  import { SCMActiveRepositoryController, SCMActiveResourceContextKeyController } from './activity.js';
11
- import { LifecyclePhase } from 'vscode/vscode/vs/workbench/services/lifecycle/common/lifecycle';
12
- import { Extensions as Extensions$2, ConfigurationScope } from 'vscode/vscode/vs/platform/configuration/common/configurationRegistry';
13
- import { ContextKeyExpr } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
14
- import { IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/contextkey.service';
15
- import { CommandsRegistry } from 'vscode/vscode/vs/platform/commands/common/commands';
16
- import { ICommandService } from 'vscode/vscode/vs/platform/commands/common/commands.service';
17
- import { KeybindingsRegistry, KeybindingWeight } from 'vscode/vscode/vs/platform/keybinding/common/keybindingsRegistry';
18
- import { registerSingleton, InstantiationType } from 'vscode/vscode/vs/platform/instantiation/common/extensions';
11
+ import { LifecyclePhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/lifecycle/common/lifecycle';
12
+ import { Extensions as Extensions$2, ConfigurationScope } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configurationRegistry';
13
+ import { ContextKeyExpr } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey';
14
+ import { IContextKeyService } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey.service';
15
+ import { CommandsRegistry } from '@codingame/monaco-vscode-api/vscode/vs/platform/commands/common/commands';
16
+ import { ICommandService } from '@codingame/monaco-vscode-api/vscode/vs/platform/commands/common/commands.service';
17
+ import { KeybindingsRegistry, KeybindingWeight } from '@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybindingsRegistry';
18
+ import { registerSingleton, InstantiationType } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/extensions';
19
19
  import { SCMService } from '../common/scmService.js';
20
- import { Extensions as Extensions$1, ViewContainerLocation } from 'vscode/vscode/vs/workbench/common/views';
20
+ import { Extensions as Extensions$1, ViewContainerLocation } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/views';
21
21
  import { SCMViewPaneContainer } from './scmViewPaneContainer.js';
22
- import { SyncDescriptor } from 'vscode/vscode/vs/platform/instantiation/common/descriptors';
23
- import { ModesRegistry } from 'vscode/vscode/vs/editor/common/languages/modesRegistry';
24
- import { Codicon } from 'vscode/vscode/vs/base/common/codicons';
25
- import { registerIcon } from 'vscode/vscode/vs/platform/theme/common/iconRegistry';
22
+ import { SyncDescriptor } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/descriptors';
23
+ import { ModesRegistry } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/modesRegistry';
24
+ import { Codicon } from '@codingame/monaco-vscode-api/vscode/vs/base/common/codicons';
25
+ import { registerIcon } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/iconRegistry';
26
26
  import { ContextKeys, SCMViewPane } from './scmViewPane.js';
27
27
  import { SCMViewService } from './scmViewService.js';
28
28
  import { SCMRepositoriesViewPane } from './scmRepositoriesViewPane.js';
29
- import { Context } from 'vscode/vscode/vs/editor/contrib/suggest/browser/suggest';
29
+ import { Context } from '@codingame/monaco-vscode-api/vscode/vs/editor/contrib/suggest/browser/suggest';
30
30
  import { WorkspaceTrustContext, MANAGE_TRUST_COMMAND_ID } from '@codingame/monaco-vscode-27663a0b-1249-58ba-9085-e52d706b50bc-common/vscode/vs/workbench/contrib/workspace/common/workspace';
31
- import { IQuickDiffService } from 'vscode/vscode/vs/workbench/contrib/scm/common/quickDiff.service';
31
+ import { IQuickDiffService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/scm/common/quickDiff.service';
32
32
  import { QuickDiffService } from '../common/quickDiffService.js';
33
- import { getActiveElement, isActiveElement } from 'vscode/vscode/vs/base/browser/dom';
33
+ import { getActiveElement, isActiveElement } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/dom';
34
34
  import { SCMWorkingSetController } from './workingSet.js';
35
- import { IViewsService } from 'vscode/vscode/vs/workbench/services/views/common/viewsService.service';
36
- import { WorkbenchList } from 'vscode/vscode/vs/platform/list/browser/listService';
37
- import { IListService } from 'vscode/vscode/vs/platform/list/browser/listService.service';
35
+ import { IViewsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/views/common/viewsService.service';
36
+ import { WorkbenchList } from '@codingame/monaco-vscode-api/vscode/vs/platform/list/browser/listService';
37
+ import { IListService } from '@codingame/monaco-vscode-api/vscode/vs/platform/list/browser/listService.service';
38
38
  import { isSCMRepository } from '@codingame/monaco-vscode-be8ddbb5-094a-5657-b1cc-fe106c94c632-common/vscode/vs/workbench/contrib/scm/browser/util';
39
39
  import { SCMHistoryViewPane } from './scmHistoryViewPane.js';
40
- import { IsWebContext } from 'vscode/vscode/vs/platform/contextkey/common/contextkeys';
41
- import { RemoteNameContext } from 'vscode/vscode/vs/workbench/common/contextkeys';
40
+ import { IsWebContext } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkeys';
41
+ import { RemoteNameContext } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contextkeys';
42
42
 
43
43
  ModesRegistry.registerLanguage({
44
44
  id: 'scminput',
@@ -48,10 +48,10 @@ ModesRegistry.registerLanguage({
48
48
  });
49
49
  ( Registry.as(Extensions.Workbench))
50
50
  .registerWorkbenchContribution(DirtyDiffWorkbenchController, LifecyclePhase.Restored);
51
- const sourceControlViewIcon = registerIcon('source-control-view-icon', Codicon.sourceControl, ( localize(8435, 'View icon of the Source Control view.')));
51
+ const sourceControlViewIcon = registerIcon('source-control-view-icon', Codicon.sourceControl, ( localize(8453, 'View icon of the Source Control view.')));
52
52
  const viewContainer = ( Registry.as(Extensions$1.ViewContainersRegistry)).registerViewContainer({
53
53
  id: VIEWLET_ID,
54
- title: ( localize2(8436, 'Source Control')),
54
+ title: ( localize2(8454, 'Source Control')),
55
55
  ctorDescriptor: ( new SyncDescriptor(SCMViewPaneContainer)),
56
56
  storageId: 'workbench.scm.views.state',
57
57
  icon: sourceControlViewIcon,
@@ -61,30 +61,30 @@ const viewContainer = ( Registry.as(Extensions$1.ViewContainersRegistry)).regist
61
61
  }, ViewContainerLocation.Sidebar, { doNotRegisterOpenCommand: true });
62
62
  const viewsRegistry = ( Registry.as(Extensions$1.ViewsRegistry));
63
63
  viewsRegistry.registerViewWelcomeContent(VIEW_PANE_ID, {
64
- content: ( localize(8437, "No source control providers registered.")),
64
+ content: ( localize(8455, "No source control providers registered.")),
65
65
  when: 'default'
66
66
  });
67
67
  viewsRegistry.registerViewWelcomeContent(VIEW_PANE_ID, {
68
68
  content: ( localize(
69
- 8438,
69
+ 8456,
70
70
  "None of the registered source control providers work in Restricted Mode."
71
71
  )),
72
72
  when: ( ContextKeyExpr.and(( ContextKeyExpr.equals('scm.providerCount', 0)), WorkspaceTrustContext.IsEnabled, ( WorkspaceTrustContext.IsTrusted.toNegated())))
73
73
  });
74
74
  viewsRegistry.registerViewWelcomeContent(VIEW_PANE_ID, {
75
- content: `[${( localize(8439, "Manage Workspace Trust"))}](command:${MANAGE_TRUST_COMMAND_ID})`,
75
+ content: `[${( localize(8457, "Manage Workspace Trust"))}](command:${MANAGE_TRUST_COMMAND_ID})`,
76
76
  when: ( ContextKeyExpr.and(( ContextKeyExpr.equals('scm.providerCount', 0)), WorkspaceTrustContext.IsEnabled, ( WorkspaceTrustContext.IsTrusted.toNegated())))
77
77
  });
78
78
  viewsRegistry.registerViewWelcomeContent(HISTORY_VIEW_PANE_ID, {
79
79
  content: ( localize(
80
- 8440,
80
+ 8458,
81
81
  "The selected source control provider does not have any source control history items."
82
82
  )),
83
83
  when: ( ContextKeys.SCMHistoryItemCount.isEqualTo(0))
84
84
  });
85
85
  viewsRegistry.registerViews([{
86
86
  id: REPOSITORIES_VIEW_PANE_ID,
87
- name: ( localize2(8441, "Source Control Repositories")),
87
+ name: ( localize2(8459, "Source Control Repositories")),
88
88
  ctorDescriptor: ( new SyncDescriptor(SCMRepositoriesViewPane)),
89
89
  canToggleVisibility: true,
90
90
  hideByDefault: true,
@@ -96,7 +96,7 @@ viewsRegistry.registerViews([{
96
96
  }], viewContainer);
97
97
  viewsRegistry.registerViews([{
98
98
  id: VIEW_PANE_ID,
99
- name: ( localize2(8436, 'Source Control')),
99
+ name: ( localize2(8454, 'Source Control')),
100
100
  ctorDescriptor: ( new SyncDescriptor(SCMViewPane)),
101
101
  canToggleVisibility: true,
102
102
  canMoveView: true,
@@ -105,7 +105,7 @@ viewsRegistry.registerViews([{
105
105
  containerIcon: sourceControlViewIcon,
106
106
  openCommandActionDescriptor: {
107
107
  id: viewContainer.id,
108
- mnemonicTitle: ( localize(8442, "Source &&Control")),
108
+ mnemonicTitle: ( localize(8460, "Source &&Control")),
109
109
  keybindings: {
110
110
  primary: 0,
111
111
  win: { primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyG },
@@ -117,7 +117,7 @@ viewsRegistry.registerViews([{
117
117
  }], viewContainer);
118
118
  viewsRegistry.registerViews([{
119
119
  id: HISTORY_VIEW_PANE_ID,
120
- name: ( localize2(8443, "Source Control Graph")),
120
+ name: ( localize2(8461, "Source Control Graph")),
121
121
  ctorDescriptor: ( new SyncDescriptor(SCMHistoryViewPane)),
122
122
  canToggleVisibility: true,
123
123
  canMoveView: true,
@@ -136,7 +136,7 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
136
136
  ( Registry.as(Extensions$2.Configuration)).registerConfiguration({
137
137
  id: 'scm',
138
138
  order: 5,
139
- title: ( localize(8444, "Source Control")),
139
+ title: ( localize(8462, "Source Control")),
140
140
  type: 'object',
141
141
  scope: ConfigurationScope.RESOURCE,
142
142
  properties: {
@@ -144,21 +144,21 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
144
144
  type: 'string',
145
145
  enum: ['all', 'gutter', 'overview', 'minimap', 'none'],
146
146
  enumDescriptions: [
147
- ( localize(8445, "Show the diff decorations in all available locations.")),
148
- ( localize(8446, "Show the diff decorations only in the editor gutter.")),
149
- ( localize(8447, "Show the diff decorations only in the overview ruler.")),
150
- ( localize(8448, "Show the diff decorations only in the minimap.")),
151
- ( localize(8449, "Do not show the diff decorations."))
147
+ ( localize(8463, "Show the diff decorations in all available locations.")),
148
+ ( localize(8464, "Show the diff decorations only in the editor gutter.")),
149
+ ( localize(8465, "Show the diff decorations only in the overview ruler.")),
150
+ ( localize(8466, "Show the diff decorations only in the minimap.")),
151
+ ( localize(8467, "Do not show the diff decorations."))
152
152
  ],
153
153
  default: 'all',
154
- description: ( localize(8450, "Controls diff decorations in the editor."))
154
+ description: ( localize(8468, "Controls diff decorations in the editor."))
155
155
  },
156
156
  'scm.diffDecorationsGutterWidth': {
157
157
  type: 'number',
158
158
  enum: [1, 2, 3, 4, 5],
159
159
  default: 3,
160
160
  description: ( localize(
161
- 8451,
161
+ 8469,
162
162
  "Controls the width(px) of diff decorations in gutter (added & modified)."
163
163
  ))
164
164
  },
@@ -166,11 +166,11 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
166
166
  type: 'string',
167
167
  enum: ['always', 'hover'],
168
168
  enumDescriptions: [
169
- ( localize(8452, "Show the diff decorator in the gutter at all times.")),
170
- ( localize(8453, "Show the diff decorator in the gutter only on hover."))
169
+ ( localize(8470, "Show the diff decorator in the gutter at all times.")),
170
+ ( localize(8471, "Show the diff decorator in the gutter only on hover."))
171
171
  ],
172
172
  description: ( localize(
173
- 8454,
173
+ 8472,
174
174
  "Controls the visibility of the Source Control diff decorator in the gutter."
175
175
  )),
176
176
  default: 'always'
@@ -179,27 +179,27 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
179
179
  type: 'string',
180
180
  enum: ['diff', 'none'],
181
181
  enumDescriptions: [
182
- ( localize(8455, "Show the inline diff Peek view on click.")),
183
- ( localize(8456, "Do nothing."))
182
+ ( localize(8473, "Show the inline diff Peek view on click.")),
183
+ ( localize(8474, "Do nothing."))
184
184
  ],
185
- description: ( localize(8457, "Controls the behavior of Source Control diff gutter decorations.")),
185
+ description: ( localize(8475, "Controls the behavior of Source Control diff gutter decorations.")),
186
186
  default: 'diff'
187
187
  },
188
188
  'scm.diffDecorationsGutterPattern': {
189
189
  type: 'object',
190
190
  description: ( localize(
191
- 8458,
191
+ 8476,
192
192
  "Controls whether a pattern is used for the diff decorations in gutter."
193
193
  )),
194
194
  additionalProperties: false,
195
195
  properties: {
196
196
  'added': {
197
197
  type: 'boolean',
198
- description: ( localize(8459, "Use pattern for the diff decorations in gutter for added lines.")),
198
+ description: ( localize(8477, "Use pattern for the diff decorations in gutter for added lines.")),
199
199
  },
200
200
  'modified': {
201
201
  type: 'boolean',
202
- description: ( localize(8460, "Use pattern for the diff decorations in gutter for modified lines.")),
202
+ description: ( localize(8478, "Use pattern for the diff decorations in gutter for modified lines.")),
203
203
  },
204
204
  },
205
205
  default: {
@@ -211,12 +211,12 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
211
211
  type: 'string',
212
212
  enum: ['true', 'false', 'inherit'],
213
213
  enumDescriptions: [
214
- ( localize(8461, "Ignore leading and trailing whitespace.")),
215
- ( localize(8462, "Do not ignore leading and trailing whitespace.")),
216
- ( localize(8463, "Inherit from `diffEditor.ignoreTrimWhitespace`."))
214
+ ( localize(8479, "Ignore leading and trailing whitespace.")),
215
+ ( localize(8480, "Do not ignore leading and trailing whitespace.")),
216
+ ( localize(8481, "Inherit from `diffEditor.ignoreTrimWhitespace`."))
217
217
  ],
218
218
  description: ( localize(
219
- 8464,
219
+ 8482,
220
220
  "Controls whether leading and trailing whitespace is ignored in Source Control diff gutter decorations."
221
221
  )),
222
222
  default: 'false'
@@ -224,7 +224,7 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
224
224
  'scm.alwaysShowActions': {
225
225
  type: 'boolean',
226
226
  description: ( localize(
227
- 8465,
227
+ 8483,
228
228
  "Controls whether inline actions are always visible in the Source Control view."
229
229
  )),
230
230
  default: false
@@ -233,12 +233,12 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
233
233
  type: 'string',
234
234
  enum: ['all', 'focused', 'off'],
235
235
  enumDescriptions: [
236
- ( localize(8466, "Show the sum of all Source Control Provider count badges.")),
237
- ( localize(8467, "Show the count badge of the focused Source Control Provider.")),
238
- ( localize(8468, "Disable the Source Control count badge."))
236
+ ( localize(8484, "Show the sum of all Source Control Provider count badges.")),
237
+ ( localize(8485, "Show the count badge of the focused Source Control Provider.")),
238
+ ( localize(8486, "Disable the Source Control count badge."))
239
239
  ],
240
240
  description: ( localize(
241
- 8469,
241
+ 8487,
242
242
  "Controls the count badge on the Source Control icon on the Activity Bar."
243
243
  )),
244
244
  default: 'all'
@@ -247,12 +247,12 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
247
247
  type: 'string',
248
248
  enum: ['hidden', 'auto', 'visible'],
249
249
  enumDescriptions: [
250
- ( localize(8470, "Hide Source Control Provider count badges.")),
251
- ( localize(8471, "Only show count badge for Source Control Provider when non-zero.")),
252
- ( localize(8472, "Show Source Control Provider count badges."))
250
+ ( localize(8488, "Hide Source Control Provider count badges.")),
251
+ ( localize(8489, "Only show count badge for Source Control Provider when non-zero.")),
252
+ ( localize(8490, "Show Source Control Provider count badges."))
253
253
  ],
254
254
  markdownDescription: ( localize(
255
- 8473,
255
+ 8491,
256
256
  "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.",
257
257
  '\`#scm.alwaysShowRepositories#\`'
258
258
  )),
@@ -262,22 +262,22 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
262
262
  type: 'string',
263
263
  enum: ['tree', 'list'],
264
264
  enumDescriptions: [
265
- ( localize(8474, "Show the repository changes as a tree.")),
266
- ( localize(8475, "Show the repository changes as a list."))
265
+ ( localize(8492, "Show the repository changes as a tree.")),
266
+ ( localize(8493, "Show the repository changes as a list."))
267
267
  ],
268
- description: ( localize(8476, "Controls the default Source Control repository view mode.")),
268
+ description: ( localize(8494, "Controls the default Source Control repository view mode.")),
269
269
  default: 'list'
270
270
  },
271
271
  'scm.defaultViewSortKey': {
272
272
  type: 'string',
273
273
  enum: ['name', 'path', 'status'],
274
274
  enumDescriptions: [
275
- ( localize(8477, "Sort the repository changes by file name.")),
276
- ( localize(8478, "Sort the repository changes by path.")),
277
- ( localize(8479, "Sort the repository changes by Source Control status."))
275
+ ( localize(8495, "Sort the repository changes by file name.")),
276
+ ( localize(8496, "Sort the repository changes by path.")),
277
+ ( localize(8497, "Sort the repository changes by Source Control status."))
278
278
  ],
279
279
  description: ( localize(
280
- 8480,
280
+ 8498,
281
281
  "Controls the default Source Control repository changes sort order when viewed as a list."
282
282
  )),
283
283
  default: 'path'
@@ -285,7 +285,7 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
285
285
  'scm.autoReveal': {
286
286
  type: 'boolean',
287
287
  description: ( localize(
288
- 8481,
288
+ 8499,
289
289
  "Controls whether the Source Control view should automatically reveal and select files when opening them."
290
290
  )),
291
291
  default: true
@@ -293,20 +293,20 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
293
293
  'scm.inputFontFamily': {
294
294
  type: 'string',
295
295
  markdownDescription: ( localize(
296
- 8482,
296
+ 8500,
297
297
  "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."
298
298
  )),
299
299
  default: 'default'
300
300
  },
301
301
  'scm.inputFontSize': {
302
302
  type: 'number',
303
- markdownDescription: ( localize(8483, "Controls the font size for the input message in pixels.")),
303
+ markdownDescription: ( localize(8501, "Controls the font size for the input message in pixels.")),
304
304
  default: 13
305
305
  },
306
306
  'scm.inputMaxLineCount': {
307
307
  type: 'number',
308
308
  markdownDescription: ( localize(
309
- 8484,
309
+ 8502,
310
310
  "Controls the maximum number of lines that the input will auto-grow to."
311
311
  )),
312
312
  minimum: 1,
@@ -316,7 +316,7 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
316
316
  'scm.inputMinLineCount': {
317
317
  type: 'number',
318
318
  markdownDescription: ( localize(
319
- 8485,
319
+ 8503,
320
320
  "Controls the minimum number of lines that the input will auto-grow from."
321
321
  )),
322
322
  minimum: 1,
@@ -326,7 +326,7 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
326
326
  'scm.alwaysShowRepositories': {
327
327
  type: 'boolean',
328
328
  markdownDescription: ( localize(
329
- 8486,
329
+ 8504,
330
330
  "Controls whether repositories should always be visible in the Source Control view."
331
331
  )),
332
332
  default: false
@@ -336,20 +336,20 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
336
336
  enum: ['discovery time', 'name', 'path'],
337
337
  enumDescriptions: [
338
338
  ( localize(
339
- 8487,
339
+ 8505,
340
340
  "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."
341
341
  )),
342
342
  ( localize(
343
- 8488,
343
+ 8506,
344
344
  "Repositories in the Source Control Repositories and Source Control views are sorted by repository name."
345
345
  )),
346
346
  ( localize(
347
- 8489,
347
+ 8507,
348
348
  "Repositories in the Source Control Repositories and Source Control views are sorted by repository path."
349
349
  ))
350
350
  ],
351
351
  description: ( localize(
352
- 8490,
352
+ 8508,
353
353
  "Controls the sort order of the repositories in the source control repositories view."
354
354
  )),
355
355
  default: 'discovery time'
@@ -357,7 +357,7 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
357
357
  'scm.repositories.visible': {
358
358
  type: 'number',
359
359
  description: ( localize(
360
- 8491,
360
+ 8509,
361
361
  "Controls how many repositories are visible in the Source Control Repositories section. Set to 0, to be able to manually resize the view."
362
362
  )),
363
363
  default: 10
@@ -365,7 +365,7 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
365
365
  'scm.showActionButton': {
366
366
  type: 'boolean',
367
367
  markdownDescription: ( localize(
368
- 8492,
368
+ 8510,
369
369
  "Controls whether an action button can be shown in the Source Control view."
370
370
  )),
371
371
  default: true
@@ -373,7 +373,7 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
373
373
  'scm.showInputActionButton': {
374
374
  type: 'boolean',
375
375
  markdownDescription: ( localize(
376
- 8493,
376
+ 8511,
377
377
  "Controls whether an action button can be shown in the Source Control input."
378
378
  )),
379
379
  default: true
@@ -381,7 +381,7 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
381
381
  'scm.workingSets.enabled': {
382
382
  type: 'boolean',
383
383
  description: ( localize(
384
- 8494,
384
+ 8512,
385
385
  "Controls whether to store editor working sets when switching between source control history item groups."
386
386
  )),
387
387
  default: false
@@ -391,16 +391,16 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
391
391
  enum: ['empty', 'current'],
392
392
  enumDescriptions: [
393
393
  ( localize(
394
- 8495,
394
+ 8513,
395
395
  "Use an empty working set when switching to a source control history item group that does not have a working set."
396
396
  )),
397
397
  ( localize(
398
- 8496,
398
+ 8514,
399
399
  "Use the current working set when switching to a source control history item group that does not have a working set."
400
400
  ))
401
401
  ],
402
402
  description: ( localize(
403
- 8497,
403
+ 8515,
404
404
  "Controls the default working set to use when switching to a source control history item group that does not have a working set."
405
405
  )),
406
406
  default: 'current'
@@ -408,7 +408,7 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
408
408
  'scm.compactFolders': {
409
409
  type: 'boolean',
410
410
  description: ( localize(
411
- 8498,
411
+ 8516,
412
412
  "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."
413
413
  )),
414
414
  default: true
@@ -416,7 +416,7 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
416
416
  'scm.graph.pageOnScroll': {
417
417
  type: 'boolean',
418
418
  description: ( localize(
419
- 8499,
419
+ 8517,
420
420
  "Controls whether the Source Control Graph view will load the next page of items when you scroll to the end of the list."
421
421
  )),
422
422
  default: true
@@ -424,7 +424,7 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
424
424
  'scm.graph.pageSize': {
425
425
  type: 'number',
426
426
  description: ( localize(
427
- 8500,
427
+ 8518,
428
428
  "The number of items to show in the Source Control Graph view by default and when loading more items."
429
429
  )),
430
430
  minimum: 1,
@@ -436,16 +436,16 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
436
436
  enum: ['all', 'filter'],
437
437
  enumDescriptions: [
438
438
  ( localize(
439
- 8501,
439
+ 8519,
440
440
  "Show badges of all history item groups in the Source Control Graph view."
441
441
  )),
442
442
  ( localize(
443
- 8502,
443
+ 8520,
444
444
  "Show only the badges of history item groups used as a filter in the Source Control Graph view."
445
445
  ))
446
446
  ],
447
447
  description: ( localize(
448
- 8503,
448
+ 8521,
449
449
  "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."
450
450
  )),
451
451
  default: 'filter'
@@ -454,7 +454,7 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
454
454
  });
455
455
  KeybindingsRegistry.registerCommandAndKeybindingRule({
456
456
  id: 'scm.acceptInput',
457
- metadata: { description: ( localize(8504, "Source Control: Accept Input")), args: [] },
457
+ metadata: { description: ( localize(8522, "Source Control: Accept Input")), args: [] },
458
458
  weight: KeybindingWeight.WorkbenchContrib,
459
459
  when: ( ContextKeyExpr.has('scmRepository')),
460
460
  primary: KeyMod.CtrlCmd | KeyCode.Enter,
@@ -491,7 +491,7 @@ KeybindingsRegistry.registerCommandAndKeybindingRule({
491
491
  }
492
492
  });
493
493
  const viewNextCommitCommand = {
494
- description: { description: ( localize(8505, "Source Control: View Next Commit")), args: [] },
494
+ description: { description: ( localize(8523, "Source Control: View Next Commit")), args: [] },
495
495
  weight: KeybindingWeight.WorkbenchContrib,
496
496
  handler: (accessor) => {
497
497
  const contextKeyService = accessor.get(IContextKeyService);
@@ -503,7 +503,7 @@ const viewNextCommitCommand = {
503
503
  }
504
504
  };
505
505
  const viewPreviousCommitCommand = {
506
- description: { description: ( localize(8506, "Source Control: View Previous Commit")), args: [] },
506
+ description: { description: ( localize(8524, "Source Control: View Previous Commit")), args: [] },
507
507
  weight: KeybindingWeight.WorkbenchContrib,
508
508
  handler: (accessor) => {
509
509
  const contextKeyService = accessor.get(IContextKeyService);
@@ -572,7 +572,7 @@ MenuRegistry.appendMenuItem(MenuId.SCMSourceControl, {
572
572
  group: '100_end',
573
573
  command: {
574
574
  id: 'scm.openInTerminal',
575
- title: ( localize(8507, "Open in External Terminal"))
575
+ title: ( localize(8525, "Open in External Terminal"))
576
576
  },
577
577
  when: ( ContextKeyExpr.and(( ContextKeyExpr.equals('scmProviderHasRootUri', true)), ( ContextKeyExpr.or(( ContextKeyExpr.equals('config.terminal.sourceControlRepositoriesKind', 'external')), ( ContextKeyExpr.equals('config.terminal.sourceControlRepositoriesKind', 'both'))))))
578
578
  });
@@ -580,7 +580,7 @@ MenuRegistry.appendMenuItem(MenuId.SCMSourceControl, {
580
580
  group: '100_end',
581
581
  command: {
582
582
  id: 'scm.openInIntegratedTerminal',
583
- title: ( localize(8508, "Open in Integrated Terminal"))
583
+ title: ( localize(8526, "Open in Integrated Terminal"))
584
584
  },
585
585
  when: ( ContextKeyExpr.and(( ContextKeyExpr.equals('scmProviderHasRootUri', true)), ( ContextKeyExpr.or(( ContextKeyExpr.equals('config.terminal.sourceControlRepositoriesKind', 'integrated')), ( ContextKeyExpr.equals('config.terminal.sourceControlRepositoriesKind', 'both'))))))
586
586
  });
@@ -1,21 +1,21 @@
1
- import { IConfigurationService } from "vscode/vscode/vs/platform/configuration/common/configuration.service";
2
- import { IContextKeyService } from "vscode/vscode/vs/platform/contextkey/common/contextkey.service";
3
- import { IContextMenuService } from "vscode/vscode/vs/platform/contextview/browser/contextView.service";
4
- import { IHoverService } from "vscode/vscode/vs/platform/hover/browser/hover.service";
5
- import { IInstantiationService } from "vscode/vscode/vs/platform/instantiation/common/instantiation";
6
- import { IKeybindingService } from "vscode/vscode/vs/platform/keybinding/common/keybinding.service";
7
- import { IOpenerService } from "vscode/vscode/vs/platform/opener/common/opener.service";
8
- import { ITelemetryService } from "vscode/vscode/vs/platform/telemetry/common/telemetry.service";
9
- import { IThemeService } from "vscode/vscode/vs/platform/theme/common/themeService.service";
1
+ import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service";
2
+ import { IContextKeyService } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey.service";
3
+ import { IContextMenuService } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextview/browser/contextView.service";
4
+ import { IHoverService } from "@codingame/monaco-vscode-api/vscode/vs/platform/hover/browser/hover.service";
5
+ import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation";
6
+ import { IKeybindingService } from "@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybinding.service";
7
+ import { IOpenerService } from "@codingame/monaco-vscode-api/vscode/vs/platform/opener/common/opener.service";
8
+ import { ITelemetryService } from "@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service";
9
+ import { IThemeService } from "@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service";
10
10
  import { IViewPaneOptions, ViewPane } from "@codingame/monaco-vscode-65619f8f-0eab-5d8b-855a-43b6353fe527-common/vscode/vs/workbench/browser/parts/views/viewPane";
11
- import { IViewDescriptorService } from "vscode/vscode/vs/workbench/common/views.service";
11
+ import { IViewDescriptorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/views.service";
12
12
  import { ISCMProvider } from "@codingame/monaco-vscode-ff9fa663-eae3-5274-8573-c2b918871e4b-common/vscode/vs/workbench/contrib/scm/common/scm";
13
- import { IMenuService } from "vscode/vscode/vs/platform/actions/common/actions.service";
14
- import { ICommandService } from "vscode/vscode/vs/platform/commands/common/commands.service";
15
- import { IAction, IActionRunner } from "vscode/vscode/vs/base/common/actions";
16
- import { IProgressService } from "vscode/vscode/vs/platform/progress/common/progress.service";
17
- import { IActionViewItem } from "vscode/vscode/vs/base/browser/ui/actionbar/actionbar";
18
- import { IDropdownMenuActionViewItemOptions } from "vscode/vscode/vs/base/browser/ui/dropdown/dropdownActionViewItem";
13
+ import { IMenuService } from "@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions.service";
14
+ import { ICommandService } from "@codingame/monaco-vscode-api/vscode/vs/platform/commands/common/commands.service";
15
+ import { IAction, IActionRunner } from "@codingame/monaco-vscode-api/vscode/vs/base/common/actions";
16
+ import { IProgressService } from "@codingame/monaco-vscode-api/vscode/vs/platform/progress/common/progress.service";
17
+ import { IActionViewItem } from "@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/actionbar/actionbar";
18
+ import { IDropdownMenuActionViewItemOptions } from "@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/dropdown/dropdownActionViewItem";
19
19
  export declare class SCMHistoryViewPane extends ViewPane {
20
20
  private readonly _commandService;
21
21
  private readonly _instantiationService;