@codingame/monaco-vscode-scm-service-override 34.1.3 → 35.0.1
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 +2 -2
- package/vscode/src/vs/workbench/contrib/scm/browser/activity.js +5 -5
- package/vscode/src/vs/workbench/contrib/scm/browser/menus.js +1 -1
- package/vscode/src/vs/workbench/contrib/scm/browser/quickDiffModel.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/scm/browser/quickDiffModel.js +16 -6
- package/vscode/src/vs/workbench/contrib/scm/browser/scm.contribution.js +71 -71
- package/vscode/src/vs/workbench/contrib/scm/browser/scmAccessibilityHelp.js +23 -23
- package/vscode/src/vs/workbench/contrib/scm/browser/scmHistoryViewPane.js +26 -26
- package/vscode/src/vs/workbench/contrib/scm/browser/scmInput.js +6 -6
- package/vscode/src/vs/workbench/contrib/scm/browser/scmRepositoriesViewPane.js +1 -1
- package/vscode/src/vs/workbench/contrib/scm/browser/scmViewPane.js +19 -19
- package/vscode/src/vs/workbench/contrib/scm/browser/scmViewService.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-scm-service-override",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "35.0.1",
|
|
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": "
|
|
18
|
+
"@codingame/monaco-vscode-api": "35.0.1"
|
|
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(
|
|
129
|
+
const badge = ( new NumberBadge(count, num => ( localize(13635, "{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(
|
|
144
|
+
name: ( localize(13636, "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(
|
|
172
|
+
name: ( localize(13637, "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(
|
|
206
|
-
const activeResourceRepositoryContextKey = ( new RawContextKey("scmActiveResourceRepository", undefined, ( localize(
|
|
205
|
+
const activeResourceHasChangesContextKey = ( new RawContextKey("scmActiveResourceHasChanges", false, ( localize(13638, "Whether the active resource has changes"))));
|
|
206
|
+
const activeResourceRepositoryContextKey = ( new RawContextKey("scmActiveResourceRepository", undefined, ( localize(13639, "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(
|
|
316
|
+
title: ( localize(13640, "Share")),
|
|
317
317
|
submenu: MenuId.SCMResourceContextShare,
|
|
318
318
|
group: "45_share",
|
|
319
319
|
order: 3
|
|
@@ -59,6 +59,12 @@ export declare class QuickDiffModel extends Disposable {
|
|
|
59
59
|
get allChanges(): QuickDiffChange[];
|
|
60
60
|
private _changes;
|
|
61
61
|
get changes(): QuickDiffChange[];
|
|
62
|
+
private _changesVersionId;
|
|
63
|
+
/**
|
|
64
|
+
* The version id of the modified text model that {@link changes} were
|
|
65
|
+
* computed against. Matches {@link ITextModel.getVersionId}.
|
|
66
|
+
*/
|
|
67
|
+
get changesVersionId(): number;
|
|
62
68
|
/**
|
|
63
69
|
* Map of quick diff name to the index of the change in `this.changes`
|
|
64
70
|
*/
|
|
@@ -74,6 +74,9 @@ let QuickDiffModel = class QuickDiffModel extends Disposable {
|
|
|
74
74
|
get changes() {
|
|
75
75
|
return this._changes;
|
|
76
76
|
}
|
|
77
|
+
get changesVersionId() {
|
|
78
|
+
return this._changesVersionId;
|
|
79
|
+
}
|
|
77
80
|
get quickDiffChanges() {
|
|
78
81
|
return this._quickDiffChanges;
|
|
79
82
|
}
|
|
@@ -108,9 +111,11 @@ let QuickDiffModel = class QuickDiffModel extends Disposable {
|
|
|
108
111
|
this.onDidChange = this._onDidChange.event;
|
|
109
112
|
this._allChanges = [];
|
|
110
113
|
this._changes = [];
|
|
114
|
+
this._changesVersionId = 0;
|
|
111
115
|
this._quickDiffChanges = ( new Map());
|
|
112
116
|
this._repositoryDisposables = ( new DisposableMap());
|
|
113
117
|
this._model = textFileModel;
|
|
118
|
+
this._changesVersionId = textFileModel.textEditorModel.getVersionId();
|
|
114
119
|
this._register(textFileModel.textEditorModel.onDidChangeContent(() => this.triggerDiff()));
|
|
115
120
|
this._register(Event.filter(
|
|
116
121
|
configurationService.onDidChangeConfiguration,
|
|
@@ -125,7 +130,7 @@ let QuickDiffModel = class QuickDiffModel extends Disposable {
|
|
|
125
130
|
this._quickDiffs = [];
|
|
126
131
|
this._originalEditorModels.clear();
|
|
127
132
|
this._quickDiffsPromise = undefined;
|
|
128
|
-
this.setChanges([], [], ( new Map()));
|
|
133
|
+
this.setChanges([], [], ( new Map()), this._model.textEditorModel.getVersionId());
|
|
129
134
|
this.triggerDiff();
|
|
130
135
|
}));
|
|
131
136
|
this._register(
|
|
@@ -186,14 +191,15 @@ let QuickDiffModel = class QuickDiffModel extends Disposable {
|
|
|
186
191
|
if (!result || this._disposed || this._model.isDisposed() || ( editorModels.some(editorModel => editorModel.isDisposed()))) {
|
|
187
192
|
return;
|
|
188
193
|
}
|
|
189
|
-
this.setChanges(result.allChanges, result.changes, result.mapChanges);
|
|
194
|
+
this.setChanges(result.allChanges, result.changes, result.mapChanges, result.versionId);
|
|
190
195
|
}).catch(err => onUnexpectedError(err));
|
|
191
196
|
}
|
|
192
|
-
setChanges(allChanges, changes, mapChanges) {
|
|
197
|
+
setChanges(allChanges, changes, mapChanges, versionId) {
|
|
193
198
|
const diff = sortedDiff(this.changes, changes, (a, b) => compareChanges(a.change, b.change));
|
|
194
199
|
this._allChanges = allChanges;
|
|
195
200
|
this._changes = changes;
|
|
196
201
|
this._quickDiffChanges = mapChanges;
|
|
202
|
+
this._changesVersionId = versionId;
|
|
197
203
|
this._onDidChange.fire({
|
|
198
204
|
changes,
|
|
199
205
|
diff
|
|
@@ -205,12 +211,14 @@ let QuickDiffModel = class QuickDiffModel extends Disposable {
|
|
|
205
211
|
location,
|
|
206
212
|
delay: 250
|
|
207
213
|
}, async () => {
|
|
214
|
+
const versionId = this._model.textEditorModel.getVersionId();
|
|
208
215
|
const originalURIs = await this.getQuickDiffsPromise();
|
|
209
216
|
if (this._disposed || this._model.isDisposed() || (originalURIs.length === 0)) {
|
|
210
217
|
return Promise.resolve({
|
|
211
218
|
allChanges: [],
|
|
212
219
|
changes: [],
|
|
213
|
-
mapChanges: ( new Map())
|
|
220
|
+
mapChanges: ( new Map()),
|
|
221
|
+
versionId
|
|
214
222
|
});
|
|
215
223
|
}
|
|
216
224
|
const quickDiffs = originalURIs.filter(
|
|
@@ -220,7 +228,8 @@ let QuickDiffModel = class QuickDiffModel extends Disposable {
|
|
|
220
228
|
return Promise.resolve({
|
|
221
229
|
allChanges: [],
|
|
222
230
|
changes: [],
|
|
223
|
-
mapChanges: ( new Map())
|
|
231
|
+
mapChanges: ( new Map()),
|
|
232
|
+
versionId
|
|
224
233
|
});
|
|
225
234
|
}
|
|
226
235
|
const quickDiffPrimary = quickDiffs.find(quickDiff => quickDiff.kind === "primary");
|
|
@@ -277,7 +286,8 @@ let QuickDiffModel = class QuickDiffModel extends Disposable {
|
|
|
277
286
|
return {
|
|
278
287
|
allChanges: allDiffsSorted,
|
|
279
288
|
changes: diffsSorted,
|
|
280
|
-
mapChanges: map
|
|
289
|
+
mapChanges: map,
|
|
290
|
+
versionId
|
|
281
291
|
};
|
|
282
292
|
});
|
|
283
293
|
}
|
|
@@ -50,10 +50,10 @@ ModesRegistry.registerLanguage({
|
|
|
50
50
|
aliases: [],
|
|
51
51
|
mimetypes: ["text/x-scm-input"]
|
|
52
52
|
});
|
|
53
|
-
const sourceControlViewIcon = registerIcon("source-control-view-icon", Codicon.sourceControl, ( localize(
|
|
53
|
+
const sourceControlViewIcon = registerIcon("source-control-view-icon", Codicon.sourceControl, ( localize(13641, "View icon of the Source Control view.")));
|
|
54
54
|
const viewContainer = ( Registry.as(Extensions.ViewContainersRegistry)).registerViewContainer({
|
|
55
55
|
id: VIEWLET_ID,
|
|
56
|
-
title: ( localize2(
|
|
56
|
+
title: ( localize2(13642, "Source Control")),
|
|
57
57
|
ctorDescriptor: ( new SyncDescriptor(SCMViewPaneContainer)),
|
|
58
58
|
storageId: "workbench.scm.views.state",
|
|
59
59
|
icon: sourceControlViewIcon,
|
|
@@ -64,25 +64,25 @@ const viewContainer = ( Registry.as(Extensions.ViewContainersRegistry)).register
|
|
|
64
64
|
doNotRegisterOpenCommand: true
|
|
65
65
|
});
|
|
66
66
|
const viewsRegistry = ( Registry.as(Extensions.ViewsRegistry));
|
|
67
|
-
const containerTitle = ( localize(
|
|
67
|
+
const containerTitle = ( localize(13643, "Source Control"));
|
|
68
68
|
viewsRegistry.registerViewWelcomeContent(VIEW_PANE_ID, {
|
|
69
|
-
content: ( localize(
|
|
69
|
+
content: ( localize(13644, "No source control providers registered.")),
|
|
70
70
|
when: "default"
|
|
71
71
|
});
|
|
72
72
|
viewsRegistry.registerViewWelcomeContent(VIEW_PANE_ID, {
|
|
73
73
|
content: ( localize(
|
|
74
|
-
|
|
74
|
+
13645,
|
|
75
75
|
"None of the registered source control providers work in Restricted Mode."
|
|
76
76
|
)),
|
|
77
77
|
when: ( ContextKeyExpr.and(( ContextKeyExpr.equals("scm.providerCount", 0)), WorkspaceTrustContext.IsEnabled, ( WorkspaceTrustContext.IsTrusted.toNegated())))
|
|
78
78
|
});
|
|
79
79
|
viewsRegistry.registerViewWelcomeContent(VIEW_PANE_ID, {
|
|
80
|
-
content: `[${( localize(
|
|
80
|
+
content: `[${( localize(13646, "Manage Workspace Trust"))}](command:${MANAGE_TRUST_COMMAND_ID})`,
|
|
81
81
|
when: ( ContextKeyExpr.and(( ContextKeyExpr.equals("scm.providerCount", 0)), WorkspaceTrustContext.IsEnabled, ( WorkspaceTrustContext.IsTrusted.toNegated())))
|
|
82
82
|
});
|
|
83
83
|
viewsRegistry.registerViewWelcomeContent(HISTORY_VIEW_PANE_ID, {
|
|
84
84
|
content: ( localize(
|
|
85
|
-
|
|
85
|
+
13647,
|
|
86
86
|
"The selected source control provider does not have any source control history items."
|
|
87
87
|
)),
|
|
88
88
|
when: ( ContextKeys.SCMHistoryItemCount.isEqualTo(0))
|
|
@@ -90,8 +90,8 @@ viewsRegistry.registerViewWelcomeContent(HISTORY_VIEW_PANE_ID, {
|
|
|
90
90
|
viewsRegistry.registerViews([{
|
|
91
91
|
id: REPOSITORIES_VIEW_PANE_ID,
|
|
92
92
|
containerTitle,
|
|
93
|
-
name: ( localize2(
|
|
94
|
-
singleViewPaneContainerTitle: ( localize(
|
|
93
|
+
name: ( localize2(13648, "Repositories")),
|
|
94
|
+
singleViewPaneContainerTitle: ( localize(13649, "Source Control Repositories")),
|
|
95
95
|
ctorDescriptor: ( new SyncDescriptor(SCMRepositoriesViewPane)),
|
|
96
96
|
canToggleVisibility: true,
|
|
97
97
|
hideByDefault: true,
|
|
@@ -104,7 +104,7 @@ viewsRegistry.registerViews([{
|
|
|
104
104
|
viewsRegistry.registerViews([{
|
|
105
105
|
id: VIEW_PANE_ID,
|
|
106
106
|
containerTitle,
|
|
107
|
-
name: ( localize2(
|
|
107
|
+
name: ( localize2(13650, "Changes")),
|
|
108
108
|
singleViewPaneContainerTitle: containerTitle,
|
|
109
109
|
ctorDescriptor: ( new SyncDescriptor(SCMViewPane)),
|
|
110
110
|
canToggleVisibility: true,
|
|
@@ -114,7 +114,7 @@ viewsRegistry.registerViews([{
|
|
|
114
114
|
containerIcon: sourceControlViewIcon,
|
|
115
115
|
openCommandActionDescriptor: {
|
|
116
116
|
id: viewContainer.id,
|
|
117
|
-
mnemonicTitle: ( localize(
|
|
117
|
+
mnemonicTitle: ( localize(13651, "Source &&Control")),
|
|
118
118
|
keybindings: {
|
|
119
119
|
primary: 0,
|
|
120
120
|
win: {
|
|
@@ -133,8 +133,8 @@ viewsRegistry.registerViews([{
|
|
|
133
133
|
viewsRegistry.registerViews([{
|
|
134
134
|
id: HISTORY_VIEW_PANE_ID,
|
|
135
135
|
containerTitle,
|
|
136
|
-
name: ( localize2(
|
|
137
|
-
singleViewPaneContainerTitle: ( localize(
|
|
136
|
+
name: ( localize2(13652, "Graph")),
|
|
137
|
+
singleViewPaneContainerTitle: ( localize(13653, "Source Control Graph")),
|
|
138
138
|
ctorDescriptor: ( new SyncDescriptor(SCMHistoryViewPane)),
|
|
139
139
|
canToggleVisibility: true,
|
|
140
140
|
canMoveView: true,
|
|
@@ -158,32 +158,32 @@ registerWorkbenchContribution2(
|
|
|
158
158
|
( Registry.as(Extensions$2.Configuration)).registerConfiguration({
|
|
159
159
|
id: "scm",
|
|
160
160
|
order: 5,
|
|
161
|
-
title: ( localize(
|
|
161
|
+
title: ( localize(13654, "Source Control")),
|
|
162
162
|
type: "object",
|
|
163
163
|
scope: ConfigurationScope.RESOURCE,
|
|
164
164
|
properties: {
|
|
165
165
|
"scm.diffDecorations": {
|
|
166
166
|
type: "string",
|
|
167
167
|
enum: ["all", "gutter", "overview", "minimap", "none"],
|
|
168
|
-
enumDescriptions: [( localize(
|
|
168
|
+
enumDescriptions: [( localize(13655, "Show the diff decorations in all available locations.")), ( localize(13656, "Show the diff decorations only in the editor gutter.")), ( localize(13657, "Show the diff decorations only in the overview ruler.")), ( localize(13658, "Show the diff decorations only in the minimap.")), ( localize(13659, "Do not show the diff decorations."))],
|
|
169
169
|
default: "all",
|
|
170
|
-
description: ( localize(
|
|
170
|
+
description: ( localize(13660, "Controls diff decorations in the editor."))
|
|
171
171
|
},
|
|
172
172
|
"scm.diffDecorationsGutterWidth": {
|
|
173
173
|
type: "number",
|
|
174
174
|
enum: [1, 2, 3, 4, 5],
|
|
175
175
|
default: 3,
|
|
176
176
|
description: ( localize(
|
|
177
|
-
|
|
177
|
+
13661,
|
|
178
178
|
"Controls the width(px) of diff decorations in gutter (added & modified)."
|
|
179
179
|
))
|
|
180
180
|
},
|
|
181
181
|
"scm.diffDecorationsGutterVisibility": {
|
|
182
182
|
type: "string",
|
|
183
183
|
enum: ["always", "hover"],
|
|
184
|
-
enumDescriptions: [( localize(
|
|
184
|
+
enumDescriptions: [( localize(13662, "Show the diff decorator in the gutter at all times.")), ( localize(13663, "Show the diff decorator in the gutter only on hover."))],
|
|
185
185
|
description: ( localize(
|
|
186
|
-
|
|
186
|
+
13664,
|
|
187
187
|
"Controls the visibility of the Source Control diff decorator in the gutter."
|
|
188
188
|
)),
|
|
189
189
|
default: "always"
|
|
@@ -191,26 +191,26 @@ registerWorkbenchContribution2(
|
|
|
191
191
|
"scm.diffDecorationsGutterAction": {
|
|
192
192
|
type: "string",
|
|
193
193
|
enum: ["diff", "none"],
|
|
194
|
-
enumDescriptions: [( localize(
|
|
195
|
-
description: ( localize(
|
|
194
|
+
enumDescriptions: [( localize(13665, "Show the inline diff Peek view on click.")), ( localize(13666, "Do nothing."))],
|
|
195
|
+
description: ( localize(13667, "Controls the behavior of Source Control diff gutter decorations.")),
|
|
196
196
|
default: "diff"
|
|
197
197
|
},
|
|
198
198
|
"scm.diffDecorationsGutterPattern": {
|
|
199
199
|
type: "object",
|
|
200
200
|
description: ( localize(
|
|
201
|
-
|
|
201
|
+
13668,
|
|
202
202
|
"Controls whether a pattern is used for the diff decorations in gutter."
|
|
203
203
|
)),
|
|
204
204
|
additionalProperties: false,
|
|
205
205
|
properties: {
|
|
206
206
|
"added": {
|
|
207
207
|
type: "boolean",
|
|
208
|
-
description: ( localize(
|
|
208
|
+
description: ( localize(13669, "Use pattern for the diff decorations in gutter for added lines."))
|
|
209
209
|
},
|
|
210
210
|
"modified": {
|
|
211
211
|
type: "boolean",
|
|
212
212
|
description: ( localize(
|
|
213
|
-
|
|
213
|
+
13670,
|
|
214
214
|
"Use pattern for the diff decorations in gutter for modified lines."
|
|
215
215
|
))
|
|
216
216
|
}
|
|
@@ -223,9 +223,9 @@ registerWorkbenchContribution2(
|
|
|
223
223
|
"scm.diffDecorationsIgnoreTrimWhitespace": {
|
|
224
224
|
type: "string",
|
|
225
225
|
enum: ["true", "false", "inherit"],
|
|
226
|
-
enumDescriptions: [( localize(
|
|
226
|
+
enumDescriptions: [( localize(13671, "Ignore leading and trailing whitespace.")), ( localize(13672, "Do not ignore leading and trailing whitespace.")), ( localize(13673, "Inherit from `diffEditor.ignoreTrimWhitespace`."))],
|
|
227
227
|
description: ( localize(
|
|
228
|
-
|
|
228
|
+
13674,
|
|
229
229
|
"Controls whether leading and trailing whitespace is ignored in Source Control diff gutter decorations."
|
|
230
230
|
)),
|
|
231
231
|
default: "false"
|
|
@@ -233,7 +233,7 @@ registerWorkbenchContribution2(
|
|
|
233
233
|
"scm.alwaysShowActions": {
|
|
234
234
|
type: "boolean",
|
|
235
235
|
description: ( localize(
|
|
236
|
-
|
|
236
|
+
13675,
|
|
237
237
|
"Controls whether inline actions are always visible in the Source Control view."
|
|
238
238
|
)),
|
|
239
239
|
default: false
|
|
@@ -241,9 +241,9 @@ registerWorkbenchContribution2(
|
|
|
241
241
|
"scm.countBadge": {
|
|
242
242
|
type: "string",
|
|
243
243
|
enum: ["all", "focused", "off"],
|
|
244
|
-
enumDescriptions: [( localize(
|
|
244
|
+
enumDescriptions: [( localize(13676, "Show the sum of all Source Control Provider count badges.")), ( localize(13677, "Show the count badge of the focused Source Control Provider.")), ( localize(13678, "Disable the Source Control count badge."))],
|
|
245
245
|
description: ( localize(
|
|
246
|
-
|
|
246
|
+
13679,
|
|
247
247
|
"Controls the count badge on the Source Control icon on the Activity Bar."
|
|
248
248
|
)),
|
|
249
249
|
default: "all"
|
|
@@ -251,9 +251,9 @@ registerWorkbenchContribution2(
|
|
|
251
251
|
"scm.providerCountBadge": {
|
|
252
252
|
type: "string",
|
|
253
253
|
enum: ["hidden", "auto", "visible"],
|
|
254
|
-
enumDescriptions: [( localize(
|
|
254
|
+
enumDescriptions: [( localize(13680, "Hide Source Control Provider count badges.")), ( localize(13681, "Only show count badge for Source Control Provider when non-zero.")), ( localize(13682, "Show Source Control Provider count badges."))],
|
|
255
255
|
markdownDescription: ( localize(
|
|
256
|
-
|
|
256
|
+
13683,
|
|
257
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.",
|
|
258
258
|
"`#scm.alwaysShowRepositories#`"
|
|
259
259
|
)),
|
|
@@ -262,16 +262,16 @@ registerWorkbenchContribution2(
|
|
|
262
262
|
"scm.defaultViewMode": {
|
|
263
263
|
type: "string",
|
|
264
264
|
enum: ["tree", "list"],
|
|
265
|
-
enumDescriptions: [( localize(
|
|
266
|
-
description: ( localize(
|
|
265
|
+
enumDescriptions: [( localize(13684, "Show the repository changes as a tree.")), ( localize(13685, "Show the repository changes as a list."))],
|
|
266
|
+
description: ( localize(13686, "Controls the default Source Control repository view mode.")),
|
|
267
267
|
default: "list"
|
|
268
268
|
},
|
|
269
269
|
"scm.defaultViewSortKey": {
|
|
270
270
|
type: "string",
|
|
271
271
|
enum: ["name", "path", "status"],
|
|
272
|
-
enumDescriptions: [( localize(
|
|
272
|
+
enumDescriptions: [( localize(13687, "Sort the repository changes by file name.")), ( localize(13688, "Sort the repository changes by path.")), ( localize(13689, "Sort the repository changes by Source Control status."))],
|
|
273
273
|
description: ( localize(
|
|
274
|
-
|
|
274
|
+
13690,
|
|
275
275
|
"Controls the default Source Control repository changes sort order when viewed as a list."
|
|
276
276
|
)),
|
|
277
277
|
default: "path"
|
|
@@ -279,7 +279,7 @@ registerWorkbenchContribution2(
|
|
|
279
279
|
"scm.autoReveal": {
|
|
280
280
|
type: "boolean",
|
|
281
281
|
description: ( localize(
|
|
282
|
-
|
|
282
|
+
13691,
|
|
283
283
|
"Controls whether the Source Control view should automatically reveal and select files when opening them."
|
|
284
284
|
)),
|
|
285
285
|
default: true
|
|
@@ -287,20 +287,20 @@ registerWorkbenchContribution2(
|
|
|
287
287
|
"scm.inputFontFamily": {
|
|
288
288
|
type: "string",
|
|
289
289
|
markdownDescription: ( localize(
|
|
290
|
-
|
|
290
|
+
13692,
|
|
291
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."
|
|
292
292
|
)),
|
|
293
293
|
default: "default"
|
|
294
294
|
},
|
|
295
295
|
"scm.inputFontSize": {
|
|
296
296
|
type: "number",
|
|
297
|
-
markdownDescription: ( localize(
|
|
297
|
+
markdownDescription: ( localize(13693, "Controls the font size for the input message in pixels.")),
|
|
298
298
|
default: 13
|
|
299
299
|
},
|
|
300
300
|
"scm.inputMaxLineCount": {
|
|
301
301
|
type: "number",
|
|
302
302
|
markdownDescription: ( localize(
|
|
303
|
-
|
|
303
|
+
13694,
|
|
304
304
|
"Controls the maximum number of lines that the input will auto-grow to."
|
|
305
305
|
)),
|
|
306
306
|
minimum: 1,
|
|
@@ -310,7 +310,7 @@ registerWorkbenchContribution2(
|
|
|
310
310
|
"scm.inputMinLineCount": {
|
|
311
311
|
type: "number",
|
|
312
312
|
markdownDescription: ( localize(
|
|
313
|
-
|
|
313
|
+
13695,
|
|
314
314
|
"Controls the minimum number of lines that the input will auto-grow from."
|
|
315
315
|
)),
|
|
316
316
|
minimum: 1,
|
|
@@ -320,7 +320,7 @@ registerWorkbenchContribution2(
|
|
|
320
320
|
"scm.alwaysShowRepositories": {
|
|
321
321
|
type: "boolean",
|
|
322
322
|
markdownDescription: ( localize(
|
|
323
|
-
|
|
323
|
+
13696,
|
|
324
324
|
"Controls whether repositories should always be visible in the Source Control view."
|
|
325
325
|
)),
|
|
326
326
|
default: false
|
|
@@ -329,17 +329,17 @@ registerWorkbenchContribution2(
|
|
|
329
329
|
type: "string",
|
|
330
330
|
enum: ["discovery time", "name", "path"],
|
|
331
331
|
enumDescriptions: [( localize(
|
|
332
|
-
|
|
332
|
+
13697,
|
|
333
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."
|
|
334
334
|
)), ( localize(
|
|
335
|
-
|
|
335
|
+
13698,
|
|
336
336
|
"Repositories in the Source Control Repositories and Source Control views are sorted by repository name."
|
|
337
337
|
)), ( localize(
|
|
338
|
-
|
|
338
|
+
13699,
|
|
339
339
|
"Repositories in the Source Control Repositories and Source Control views are sorted by repository path."
|
|
340
340
|
))],
|
|
341
341
|
description: ( localize(
|
|
342
|
-
|
|
342
|
+
13700,
|
|
343
343
|
"Controls the sort order of the repositories in the source control repositories view."
|
|
344
344
|
)),
|
|
345
345
|
default: "discovery time"
|
|
@@ -347,7 +347,7 @@ registerWorkbenchContribution2(
|
|
|
347
347
|
"scm.repositories.visible": {
|
|
348
348
|
type: "number",
|
|
349
349
|
description: ( localize(
|
|
350
|
-
|
|
350
|
+
13701,
|
|
351
351
|
"Controls how many repositories are visible in the Source Control Repositories section. Set to 0, to be able to manually resize the view."
|
|
352
352
|
)),
|
|
353
353
|
default: 10
|
|
@@ -355,9 +355,9 @@ registerWorkbenchContribution2(
|
|
|
355
355
|
"scm.repositories.selectionMode": {
|
|
356
356
|
type: "string",
|
|
357
357
|
enum: ["multiple", "single"],
|
|
358
|
-
enumDescriptions: [( localize(
|
|
358
|
+
enumDescriptions: [( localize(13702, "Multiple repositories can be selected at the same time.")), ( localize(13703, "Only one repository can be selected at a time."))],
|
|
359
359
|
description: ( localize(
|
|
360
|
-
|
|
360
|
+
13704,
|
|
361
361
|
"Controls the selection mode of the repositories in the Source Control Repositories view."
|
|
362
362
|
)),
|
|
363
363
|
default: "multiple"
|
|
@@ -365,7 +365,7 @@ registerWorkbenchContribution2(
|
|
|
365
365
|
"scm.repositories.explorer": {
|
|
366
366
|
type: "boolean",
|
|
367
367
|
markdownDescription: ( localize(
|
|
368
|
-
|
|
368
|
+
13705,
|
|
369
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}`.",
|
|
370
370
|
"`#scm.repositories.selectionMode#`",
|
|
371
371
|
"single"
|
|
@@ -376,7 +376,7 @@ registerWorkbenchContribution2(
|
|
|
376
376
|
"scm.showActionButton": {
|
|
377
377
|
type: "boolean",
|
|
378
378
|
markdownDescription: ( localize(
|
|
379
|
-
|
|
379
|
+
13706,
|
|
380
380
|
"Controls whether an action button can be shown in the Source Control view."
|
|
381
381
|
)),
|
|
382
382
|
default: true
|
|
@@ -384,7 +384,7 @@ registerWorkbenchContribution2(
|
|
|
384
384
|
"scm.showInputActionButton": {
|
|
385
385
|
type: "boolean",
|
|
386
386
|
markdownDescription: ( localize(
|
|
387
|
-
|
|
387
|
+
13707,
|
|
388
388
|
"Controls whether an action button can be shown in the Source Control input."
|
|
389
389
|
)),
|
|
390
390
|
default: true
|
|
@@ -392,7 +392,7 @@ registerWorkbenchContribution2(
|
|
|
392
392
|
"scm.workingSets.enabled": {
|
|
393
393
|
type: "boolean",
|
|
394
394
|
description: ( localize(
|
|
395
|
-
|
|
395
|
+
13708,
|
|
396
396
|
"Controls whether to store editor working sets when switching between source control history item groups."
|
|
397
397
|
)),
|
|
398
398
|
default: false
|
|
@@ -401,14 +401,14 @@ registerWorkbenchContribution2(
|
|
|
401
401
|
type: "string",
|
|
402
402
|
enum: ["empty", "current"],
|
|
403
403
|
enumDescriptions: [( localize(
|
|
404
|
-
|
|
404
|
+
13709,
|
|
405
405
|
"Use an empty working set when switching to a source control history item group that does not have a working set."
|
|
406
406
|
)), ( localize(
|
|
407
|
-
|
|
407
|
+
13710,
|
|
408
408
|
"Use the current working set when switching to a source control history item group that does not have a working set."
|
|
409
409
|
))],
|
|
410
410
|
description: ( localize(
|
|
411
|
-
|
|
411
|
+
13711,
|
|
412
412
|
"Controls the default working set to use when switching to a source control history item group that does not have a working set."
|
|
413
413
|
)),
|
|
414
414
|
default: "current"
|
|
@@ -416,7 +416,7 @@ registerWorkbenchContribution2(
|
|
|
416
416
|
"scm.compactFolders": {
|
|
417
417
|
type: "boolean",
|
|
418
418
|
description: ( localize(
|
|
419
|
-
|
|
419
|
+
13712,
|
|
420
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."
|
|
421
421
|
)),
|
|
422
422
|
default: true
|
|
@@ -424,7 +424,7 @@ registerWorkbenchContribution2(
|
|
|
424
424
|
"scm.graph.pageOnScroll": {
|
|
425
425
|
type: "boolean",
|
|
426
426
|
description: ( localize(
|
|
427
|
-
|
|
427
|
+
13713,
|
|
428
428
|
"Controls whether the Source Control Graph view will load the next page of items when you scroll to the end of the list."
|
|
429
429
|
)),
|
|
430
430
|
default: true
|
|
@@ -432,7 +432,7 @@ registerWorkbenchContribution2(
|
|
|
432
432
|
"scm.graph.pageSize": {
|
|
433
433
|
type: "number",
|
|
434
434
|
description: ( localize(
|
|
435
|
-
|
|
435
|
+
13714,
|
|
436
436
|
"The number of items to show in the Source Control Graph view by default and when loading more items."
|
|
437
437
|
)),
|
|
438
438
|
minimum: 1,
|
|
@@ -443,14 +443,14 @@ registerWorkbenchContribution2(
|
|
|
443
443
|
type: "string",
|
|
444
444
|
enum: ["all", "filter"],
|
|
445
445
|
enumDescriptions: [( localize(
|
|
446
|
-
|
|
446
|
+
13715,
|
|
447
447
|
"Show badges of all history item groups in the Source Control Graph view."
|
|
448
448
|
)), ( localize(
|
|
449
|
-
|
|
449
|
+
13716,
|
|
450
450
|
"Show only the badges of history item groups used as a filter in the Source Control Graph view."
|
|
451
451
|
))],
|
|
452
452
|
description: ( localize(
|
|
453
|
-
|
|
453
|
+
13717,
|
|
454
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."
|
|
455
455
|
)),
|
|
456
456
|
default: "filter"
|
|
@@ -458,7 +458,7 @@ registerWorkbenchContribution2(
|
|
|
458
458
|
"scm.graph.showIncomingChanges": {
|
|
459
459
|
type: "boolean",
|
|
460
460
|
description: ( localize(
|
|
461
|
-
|
|
461
|
+
13718,
|
|
462
462
|
"Controls whether to show incoming changes in the Source Control Graph view."
|
|
463
463
|
)),
|
|
464
464
|
default: true
|
|
@@ -466,7 +466,7 @@ registerWorkbenchContribution2(
|
|
|
466
466
|
"scm.graph.showOutgoingChanges": {
|
|
467
467
|
type: "boolean",
|
|
468
468
|
description: ( localize(
|
|
469
|
-
|
|
469
|
+
13719,
|
|
470
470
|
"Controls whether to show outgoing changes in the Source Control Graph view."
|
|
471
471
|
)),
|
|
472
472
|
default: true
|
|
@@ -476,7 +476,7 @@ registerWorkbenchContribution2(
|
|
|
476
476
|
KeybindingsRegistry.registerCommandAndKeybindingRule({
|
|
477
477
|
id: "scm.acceptInput",
|
|
478
478
|
metadata: {
|
|
479
|
-
description: ( localize(
|
|
479
|
+
description: ( localize(13720, "Source Control: Accept Input")),
|
|
480
480
|
args: []
|
|
481
481
|
},
|
|
482
482
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -526,7 +526,7 @@ KeybindingsRegistry.registerCommandAndKeybindingRule({
|
|
|
526
526
|
});
|
|
527
527
|
const viewNextCommitCommand = {
|
|
528
528
|
description: {
|
|
529
|
-
description: ( localize(
|
|
529
|
+
description: ( localize(13721, "Source Control: View Next Commit")),
|
|
530
530
|
args: []
|
|
531
531
|
},
|
|
532
532
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -541,7 +541,7 @@ const viewNextCommitCommand = {
|
|
|
541
541
|
};
|
|
542
542
|
const viewPreviousCommitCommand = {
|
|
543
543
|
description: {
|
|
544
|
-
description: ( localize(
|
|
544
|
+
description: ( localize(13722, "Source Control: View Previous Commit")),
|
|
545
545
|
args: []
|
|
546
546
|
},
|
|
547
547
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -611,8 +611,8 @@ CommandsRegistry.registerCommand("scm.openInTerminal", async (accessor, provider
|
|
|
611
611
|
CommandsRegistry.registerCommand("scm.setActiveProvider", async accessor => {
|
|
612
612
|
const instantiationService = accessor.get(IInstantiationService);
|
|
613
613
|
const scmViewService = accessor.get(ISCMViewService);
|
|
614
|
-
const placeHolder = ( localize(
|
|
615
|
-
const autoQuickItemDescription = ( localize(
|
|
614
|
+
const placeHolder = ( localize(13723, "Select the active repository, type to filter all repositories"));
|
|
615
|
+
const autoQuickItemDescription = ( localize(13724, "The active repository is updated based on active editor"));
|
|
616
616
|
const repositoryPicker = instantiationService.createInstance(RepositoryPicker, placeHolder, autoQuickItemDescription);
|
|
617
617
|
const result = await repositoryPicker.pickRepository();
|
|
618
618
|
if (result?.repository) {
|
|
@@ -624,7 +624,7 @@ MenuRegistry.appendMenuItem(MenuId.SCMSourceControl, {
|
|
|
624
624
|
group: "99_terminal",
|
|
625
625
|
command: {
|
|
626
626
|
id: "scm.openInTerminal",
|
|
627
|
-
title: ( localize(
|
|
627
|
+
title: ( localize(13725, "Open in External Terminal"))
|
|
628
628
|
},
|
|
629
629
|
when: ( ContextKeyExpr.and(( RemoteNameContext.isEqualTo("")), ( ContextKeyExpr.equals("scmProviderHasRootUri", true)), ( ContextKeyExpr.or(( ContextKeyExpr.equals("config.terminal.sourceControlRepositoriesKind", "external")), ( ContextKeyExpr.equals("config.terminal.sourceControlRepositoriesKind", "both"))))))
|
|
630
630
|
});
|
|
@@ -632,7 +632,7 @@ MenuRegistry.appendMenuItem(MenuId.SCMSourceControl, {
|
|
|
632
632
|
group: "99_terminal",
|
|
633
633
|
command: {
|
|
634
634
|
id: "scm.openInIntegratedTerminal",
|
|
635
|
-
title: ( localize(
|
|
635
|
+
title: ( localize(13726, "Open in Integrated Terminal"))
|
|
636
636
|
},
|
|
637
637
|
when: ( ContextKeyExpr.and(( ContextKeyExpr.equals("scmProviderHasRootUri", true)), ( ContextKeyExpr.or(( ContextKeyExpr.equals("config.terminal.sourceControlRepositoriesKind", "integrated")), ( ContextKeyExpr.equals("config.terminal.sourceControlRepositoriesKind", "both"))))))
|
|
638
638
|
});
|
|
@@ -686,7 +686,7 @@ registerAction2(class extends Action2 {
|
|
|
686
686
|
constructor() {
|
|
687
687
|
super({
|
|
688
688
|
id: "scm.editor.triggerSetup",
|
|
689
|
-
title: ( localize(
|
|
689
|
+
title: ( localize(13727, "Resolve Conflicts with AI")),
|
|
690
690
|
icon: Codicon.chatSparkle,
|
|
691
691
|
f1: false,
|
|
692
692
|
menu: {
|
|
@@ -57,75 +57,75 @@ let SCMAccessibilityHelpContentProvider = class SCMAccessibilityHelpContentProvi
|
|
|
57
57
|
const content = [];
|
|
58
58
|
if (this._scmViewService.visibleRepositories.length > 1) {
|
|
59
59
|
const repositoryList = ( this._scmViewService.visibleRepositories.map(r => r.provider.name)).join(", ");
|
|
60
|
-
content.push(( localize(
|
|
60
|
+
content.push(( localize(13728, "Visible repositories: {0}", repositoryList)));
|
|
61
61
|
}
|
|
62
62
|
const focusedRepository = this._scmViewService.focusedRepository;
|
|
63
63
|
if (focusedRepository) {
|
|
64
|
-
content.push(( localize(
|
|
64
|
+
content.push(( localize(13729, "Repository: {0}", focusedRepository.provider.name)));
|
|
65
65
|
const currentHistoryItemRef = focusedRepository.provider.historyProvider.get()?.historyItemRef.get();
|
|
66
66
|
if (currentHistoryItemRef) {
|
|
67
|
-
content.push(( localize(
|
|
67
|
+
content.push(( localize(13730, "History item reference: {0}", currentHistoryItemRef.name)));
|
|
68
68
|
}
|
|
69
69
|
if (focusedRepository.input.visible && focusedRepository.input.enabled && focusedRepository.input.value !== "") {
|
|
70
|
-
content.push(( localize(
|
|
70
|
+
content.push(( localize(13731, "Commit message: {0}", focusedRepository.input.value)));
|
|
71
71
|
}
|
|
72
72
|
const actionButton = focusedRepository.provider.actionButton.get();
|
|
73
73
|
if (actionButton) {
|
|
74
74
|
const label = actionButton.command.tooltip ?? actionButton.command.title;
|
|
75
|
-
const enablementLabel = actionButton.enabled ? ( localize(
|
|
76
|
-
content.push(( localize(
|
|
75
|
+
const enablementLabel = actionButton.enabled ? ( localize(13732, "enabled")) : ( localize(13733, "disabled"));
|
|
76
|
+
content.push(( localize(13734, "Action button: {0}, {1}", label, enablementLabel)));
|
|
77
77
|
}
|
|
78
78
|
const resourceGroups = [];
|
|
79
79
|
for (const resourceGroup of focusedRepository.provider.groups) {
|
|
80
80
|
resourceGroups.push(`${resourceGroup.label} (${resourceGroup.resources.length} resource(s))`);
|
|
81
81
|
}
|
|
82
82
|
( focusedRepository.provider.groups.map(g => g.label)).join(", ");
|
|
83
|
-
content.push(( localize(
|
|
83
|
+
content.push(( localize(13735, "Resource groups: {0}", resourceGroups.join(", "))));
|
|
84
84
|
}
|
|
85
85
|
content.push(( localize(
|
|
86
|
-
|
|
86
|
+
13736,
|
|
87
87
|
"Use the \"Source Control: Focus on Source Control Repositories View\" command to open the Source Control Repositories view."
|
|
88
88
|
)));
|
|
89
89
|
content.push(( localize(
|
|
90
|
-
|
|
90
|
+
13737,
|
|
91
91
|
"The Source Control Repositories view lists all repositories from the workspace and is only shown when the workspace contains more than one repository."
|
|
92
92
|
)));
|
|
93
|
-
content.push(( localize(
|
|
93
|
+
content.push(( localize(13738, "Once the Source Control Repositories view is opened you can:")));
|
|
94
94
|
content.push(( localize(
|
|
95
|
-
|
|
95
|
+
13739,
|
|
96
96
|
" - Use the up/down arrow keys to navigate the list of repositories."
|
|
97
97
|
)));
|
|
98
|
-
content.push(( localize(
|
|
99
|
-
content.push(( localize(
|
|
98
|
+
content.push(( localize(13740, " - Use the Enter or Space keys to select a repository.")));
|
|
99
|
+
content.push(( localize(13741, " - Use Shift + up/down keys to select multiple repositories.")));
|
|
100
100
|
content.push(( localize(
|
|
101
|
-
|
|
101
|
+
13742,
|
|
102
102
|
"Use the \"Source Control: Focus on Source Control View\" command to open the Source Control view."
|
|
103
103
|
)));
|
|
104
104
|
content.push(( localize(
|
|
105
|
-
|
|
105
|
+
13743,
|
|
106
106
|
"The Source Control view displays the resource groups and resources of the repository. If the workspace contains more than one repository it will list the resource groups and resources of the repositories selected in the Source Control Repositories view."
|
|
107
107
|
)));
|
|
108
|
-
content.push(( localize(
|
|
108
|
+
content.push(( localize(13744, "Once the Source Control view is opened you can:")));
|
|
109
109
|
content.push(( localize(
|
|
110
|
-
|
|
110
|
+
13745,
|
|
111
111
|
" - Use the up/down arrow keys to navigate the list of repositories, resource groups and resources."
|
|
112
112
|
)));
|
|
113
|
-
content.push(( localize(
|
|
113
|
+
content.push(( localize(13746, " - Use the Space key to expand or collapse a resource group.")));
|
|
114
114
|
content.push(( localize(
|
|
115
|
-
|
|
115
|
+
13747,
|
|
116
116
|
"Use the \"Source Control: Focus on Source Control Graph View\" command to open the Source Control Graph view."
|
|
117
117
|
)));
|
|
118
118
|
content.push(( localize(
|
|
119
|
-
|
|
119
|
+
13748,
|
|
120
120
|
"The Source Control Graph view displays a graph history items of the repository. If the workspace contains more than one repository it will list the history items of the active repository."
|
|
121
121
|
)));
|
|
122
|
-
content.push(( localize(
|
|
122
|
+
content.push(( localize(13749, "Once the Source Control Graph view is opened you can:")));
|
|
123
123
|
content.push(( localize(
|
|
124
|
-
|
|
124
|
+
13750,
|
|
125
125
|
" - Use the up/down arrow keys to navigate the list of history items."
|
|
126
126
|
)));
|
|
127
127
|
content.push(( localize(
|
|
128
|
-
|
|
128
|
+
13751,
|
|
129
129
|
" - Use the Space key to open the history item details in the multi-file diff editor."
|
|
130
130
|
)));
|
|
131
131
|
return content.join("\n");
|
|
@@ -130,20 +130,20 @@ class SCMHistoryItemRefsActionViewItem extends ActionViewItem {
|
|
|
130
130
|
icon.classList.add(...ThemeIcon.asClassNameArray(Codicon.gitBranch));
|
|
131
131
|
const name = $(".name");
|
|
132
132
|
if (this._historyItemsFilter === "all") {
|
|
133
|
-
name.textContent = ( localize(
|
|
133
|
+
name.textContent = ( localize(13772, "All"));
|
|
134
134
|
} else if (this._historyItemsFilter === "auto") {
|
|
135
|
-
name.textContent = ( localize(
|
|
135
|
+
name.textContent = ( localize(13773, "Auto"));
|
|
136
136
|
} else if (this._historyItemsFilter.length === 1) {
|
|
137
137
|
name.textContent = this._historyItemsFilter[0].name;
|
|
138
138
|
} else {
|
|
139
|
-
name.textContent = ( localize(
|
|
139
|
+
name.textContent = ( localize(13774, "{0} Items", this._historyItemsFilter.length));
|
|
140
140
|
}
|
|
141
141
|
reset(this.label, icon, name);
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
144
|
getTooltip() {
|
|
145
145
|
if (this._historyItemsFilter === "all") {
|
|
146
|
-
return localize(
|
|
146
|
+
return localize(13775, "All history item references");
|
|
147
147
|
} else if (this._historyItemsFilter === "auto") {
|
|
148
148
|
const historyProvider = this._repository.provider.historyProvider.get();
|
|
149
149
|
return [
|
|
@@ -162,7 +162,7 @@ registerAction2(class extends ViewAction {
|
|
|
162
162
|
constructor() {
|
|
163
163
|
super({
|
|
164
164
|
id: PICK_REPOSITORY_ACTION_ID,
|
|
165
|
-
title: ( localize(
|
|
165
|
+
title: ( localize(13776, "Repository Picker")),
|
|
166
166
|
viewId: HISTORY_VIEW_PANE_ID,
|
|
167
167
|
f1: false,
|
|
168
168
|
menu: {
|
|
@@ -181,7 +181,7 @@ registerAction2(class extends ViewAction {
|
|
|
181
181
|
constructor() {
|
|
182
182
|
super({
|
|
183
183
|
id: PICK_HISTORY_ITEM_REFS_ACTION_ID,
|
|
184
|
-
title: ( localize(
|
|
184
|
+
title: ( localize(13777, "History Item Reference Picker")),
|
|
185
185
|
icon: Codicon.gitBranch,
|
|
186
186
|
viewId: HISTORY_VIEW_PANE_ID,
|
|
187
187
|
precondition: ( ContextKeys.SCMHistoryItemCount.notEqualsTo(0)),
|
|
@@ -201,7 +201,7 @@ registerAction2(class extends ViewAction {
|
|
|
201
201
|
constructor() {
|
|
202
202
|
super({
|
|
203
203
|
id: "workbench.scm.action.graph.revealCurrentHistoryItem",
|
|
204
|
-
title: ( localize(
|
|
204
|
+
title: ( localize(13778, "Go to Current History Item")),
|
|
205
205
|
icon: Codicon.target,
|
|
206
206
|
viewId: HISTORY_VIEW_PANE_ID,
|
|
207
207
|
precondition: ( ContextKeyExpr.and(( ContextKeys.SCMHistoryItemCount.notEqualsTo(0)), ( ContextKeys.SCMCurrentHistoryItemRefInFilter.isEqualTo(true)))),
|
|
@@ -221,7 +221,7 @@ registerAction2(class extends ViewAction {
|
|
|
221
221
|
constructor() {
|
|
222
222
|
super({
|
|
223
223
|
id: "workbench.scm.action.graph.refresh",
|
|
224
|
-
title: ( localize(
|
|
224
|
+
title: ( localize(13779, "Refresh")),
|
|
225
225
|
viewId: HISTORY_VIEW_PANE_ID,
|
|
226
226
|
f1: false,
|
|
227
227
|
icon: Codicon.refresh,
|
|
@@ -240,7 +240,7 @@ registerAction2(class extends ViewAction {
|
|
|
240
240
|
constructor() {
|
|
241
241
|
super({
|
|
242
242
|
id: "workbench.scm.action.graph.setListViewMode",
|
|
243
|
-
title: ( localize(
|
|
243
|
+
title: ( localize(13780, "View as List")),
|
|
244
244
|
viewId: HISTORY_VIEW_PANE_ID,
|
|
245
245
|
toggled: ( ContextKeys.SCMHistoryViewMode.isEqualTo(ViewMode.List)),
|
|
246
246
|
menu: {
|
|
@@ -259,7 +259,7 @@ registerAction2(class extends ViewAction {
|
|
|
259
259
|
constructor() {
|
|
260
260
|
super({
|
|
261
261
|
id: "workbench.scm.action.graph.setTreeViewMode",
|
|
262
|
-
title: ( localize(
|
|
262
|
+
title: ( localize(13781, "View as Tree")),
|
|
263
263
|
viewId: HISTORY_VIEW_PANE_ID,
|
|
264
264
|
toggled: ( ContextKeys.SCMHistoryViewMode.isEqualTo(ViewMode.Tree)),
|
|
265
265
|
menu: {
|
|
@@ -278,7 +278,7 @@ registerAction2(class extends Action2 {
|
|
|
278
278
|
constructor() {
|
|
279
279
|
super({
|
|
280
280
|
id: "workbench.scm.action.graph.viewChanges",
|
|
281
|
-
title: ( localize(
|
|
281
|
+
title: ( localize(13782, "Open Changes")),
|
|
282
282
|
icon: Codicon.diffMultiple,
|
|
283
283
|
f1: false,
|
|
284
284
|
menu: [{
|
|
@@ -338,7 +338,7 @@ registerAction2(class extends Action2 {
|
|
|
338
338
|
constructor() {
|
|
339
339
|
super({
|
|
340
340
|
id: "workbench.scm.action.graph.openFile",
|
|
341
|
-
title: ( localize(
|
|
341
|
+
title: ( localize(13783, "Open File")),
|
|
342
342
|
icon: Codicon.goToFile,
|
|
343
343
|
f1: false,
|
|
344
344
|
menu: [{
|
|
@@ -359,9 +359,9 @@ registerAction2(class extends Action2 {
|
|
|
359
359
|
}
|
|
360
360
|
let version;
|
|
361
361
|
if (historyItem.id === SCMIncomingHistoryItemId) {
|
|
362
|
-
version = ( localize(
|
|
362
|
+
version = ( localize(13784, "Incoming Changes"));
|
|
363
363
|
} else if (historyItem.id === SCMOutgoingHistoryItemId) {
|
|
364
|
-
version = ( localize(
|
|
364
|
+
version = ( localize(13785, "Outgoing Changes"));
|
|
365
365
|
} else {
|
|
366
366
|
version = historyItem.displayId ?? historyItem.id;
|
|
367
367
|
}
|
|
@@ -765,7 +765,7 @@ let HistoryItemLoadMoreRenderer = class HistoryItemLoadMoreRenderer {
|
|
|
765
765
|
templateData.elementDisposables.add(autorun(reader => {
|
|
766
766
|
const isLoadingMore = this._isLoadingMore.read(reader);
|
|
767
767
|
const icon = `$(${isLoadingMore ? "loading~spin" : "fold-down"})`;
|
|
768
|
-
templateData.historyItemPlaceholderLabel.setLabel(( localize(
|
|
768
|
+
templateData.historyItemPlaceholderLabel.setLabel(( localize(13786, "{0} Load More...", icon)));
|
|
769
769
|
}));
|
|
770
770
|
}
|
|
771
771
|
}
|
|
@@ -795,7 +795,7 @@ let SCMHistoryViewPaneActionRunner = class SCMHistoryViewPaneActionRunner extend
|
|
|
795
795
|
SCMHistoryViewPaneActionRunner = ( __decorate([( __param(0, IProgressService))], SCMHistoryViewPaneActionRunner));
|
|
796
796
|
class SCMHistoryTreeAccessibilityProvider {
|
|
797
797
|
getWidgetAriaLabel() {
|
|
798
|
-
return localize(
|
|
798
|
+
return localize(13787, "Source Control History");
|
|
799
799
|
}
|
|
800
800
|
getAriaLabel(element) {
|
|
801
801
|
if (isSCMRepository(element)) {
|
|
@@ -1285,8 +1285,8 @@ let RepositoryPicker = class RepositoryPicker {
|
|
|
1285
1285
|
this._quickInputService = _quickInputService;
|
|
1286
1286
|
this._scmViewService = _scmViewService;
|
|
1287
1287
|
this._autoQuickPickItem = {
|
|
1288
|
-
label: ( localize(
|
|
1289
|
-
description: ( localize(
|
|
1288
|
+
label: ( localize(13773, "Auto")),
|
|
1289
|
+
description: ( localize(13788, "Show the source control graph for the active repository")),
|
|
1290
1290
|
repository: "auto"
|
|
1291
1291
|
};
|
|
1292
1292
|
}
|
|
@@ -1301,7 +1301,7 @@ let RepositoryPicker = class RepositoryPicker {
|
|
|
1301
1301
|
repository: r
|
|
1302
1302
|
}))));
|
|
1303
1303
|
return this._quickInputService.pick(picks, {
|
|
1304
|
-
placeHolder: ( localize(
|
|
1304
|
+
placeHolder: ( localize(13789, "Select the repository to view, type to filter all repositories"))
|
|
1305
1305
|
});
|
|
1306
1306
|
}
|
|
1307
1307
|
};
|
|
@@ -1314,14 +1314,14 @@ let HistoryItemRefPicker = class HistoryItemRefPicker extends Disposable {
|
|
|
1314
1314
|
this._quickInputService = _quickInputService;
|
|
1315
1315
|
this._allQuickPickItem = {
|
|
1316
1316
|
id: "all",
|
|
1317
|
-
label: ( localize(
|
|
1318
|
-
description: ( localize(
|
|
1317
|
+
label: ( localize(13772, "All")),
|
|
1318
|
+
description: ( localize(13775, "All history item references")),
|
|
1319
1319
|
historyItemRef: "all"
|
|
1320
1320
|
};
|
|
1321
1321
|
this._autoQuickPickItem = {
|
|
1322
1322
|
id: "auto",
|
|
1323
|
-
label: ( localize(
|
|
1324
|
-
description: ( localize(
|
|
1323
|
+
label: ( localize(13773, "Auto")),
|
|
1324
|
+
description: ( localize(13790, "Current history item reference(s)")),
|
|
1325
1325
|
historyItemRef: "auto"
|
|
1326
1326
|
};
|
|
1327
1327
|
}
|
|
@@ -1330,7 +1330,7 @@ let HistoryItemRefPicker = class HistoryItemRefPicker extends Disposable {
|
|
|
1330
1330
|
useSeparators: true
|
|
1331
1331
|
});
|
|
1332
1332
|
this._store.add(quickPick);
|
|
1333
|
-
quickPick.placeholder = ( localize(
|
|
1333
|
+
quickPick.placeholder = ( localize(13791, "Select one/more history item references to view, type to filter"));
|
|
1334
1334
|
quickPick.canSelectMany = true;
|
|
1335
1335
|
quickPick.hideCheckAll = true;
|
|
1336
1336
|
quickPick.busy = true;
|
|
@@ -1485,7 +1485,7 @@ let SCMHistoryViewPane = class SCMHistoryViewPane extends ViewPane {
|
|
|
1485
1485
|
showPointer: true
|
|
1486
1486
|
},
|
|
1487
1487
|
content: ( new MarkdownString(( localize(
|
|
1488
|
-
|
|
1488
|
+
13792,
|
|
1489
1489
|
"Please refresh the graph using the refresh action ({0}).",
|
|
1490
1490
|
"$(refresh)"
|
|
1491
1491
|
)), {
|
|
@@ -1758,7 +1758,7 @@ let SCMHistoryViewPane = class SCMHistoryViewPane extends ViewPane {
|
|
|
1758
1758
|
} else if (isSCMHistoryItemChangeViewModelTreeElement(e.element)) {
|
|
1759
1759
|
const historyItemChange = e.element.historyItemChange;
|
|
1760
1760
|
const historyItem = e.element.historyItemViewModel.historyItem;
|
|
1761
|
-
const historyItemDisplayId = historyItem.id === SCMIncomingHistoryItemId ? ( localize(
|
|
1761
|
+
const historyItemDisplayId = historyItem.id === SCMIncomingHistoryItemId ? ( localize(13784, "Incoming Changes")) : historyItem.id === SCMOutgoingHistoryItemId ? ( localize(13785, "Outgoing Changes")) : historyItem.displayId ?? historyItem.id;
|
|
1762
1762
|
const historyItemParentId = historyItem.parentIds.length > 0 ? historyItem.parentIds[0] : undefined;
|
|
1763
1763
|
const historyItemParentDisplayId = historyItemParentId && historyItem.displayId ? historyItemParentId.substring(0, historyItem.displayId.length) : historyItemParentId;
|
|
1764
1764
|
if (historyItemChange.originalUri && historyItemChange.modifiedUri) {
|
|
@@ -168,10 +168,10 @@ let SCMInputWidgetToolbar = class SCMInputWidgetToolbar extends WorkbenchToolBar
|
|
|
168
168
|
this._onDidChange = this._register(( new Emitter()));
|
|
169
169
|
this.onDidChange = this._onDidChange.event;
|
|
170
170
|
this._disposables = this._register(( new MutableDisposable()));
|
|
171
|
-
this._dropdownAction = ( new Action("scmInputMoreActions", ( localize(
|
|
171
|
+
this._dropdownAction = ( new Action("scmInputMoreActions", ( localize(13793, "More Actions...")), "codicon-chevron-down"));
|
|
172
172
|
this._cancelAction = ( new MenuItemAction({
|
|
173
173
|
id: SCMInputWidgetCommandId.CancelAction,
|
|
174
|
-
title: ( localize(
|
|
174
|
+
title: ( localize(13794, "Cancel")),
|
|
175
175
|
icon: Codicon.stopCircle
|
|
176
176
|
}, undefined, undefined, undefined, undefined, contextKeyService, commandService));
|
|
177
177
|
}
|
|
@@ -429,12 +429,12 @@ let SCMInputWidget = class SCMInputWidget {
|
|
|
429
429
|
}
|
|
430
430
|
const kbLabel = this.keybindingService.lookupKeybinding(AccessibilityCommandId.OpenAccessibilityHelp)?.getLabel();
|
|
431
431
|
return kbLabel ? ( localize(
|
|
432
|
-
|
|
432
|
+
13795,
|
|
433
433
|
"{0}, Use {1} to open Source Control Accessibility Help.",
|
|
434
434
|
placeholder,
|
|
435
435
|
kbLabel
|
|
436
436
|
)) : ( localize(
|
|
437
|
-
|
|
437
|
+
13796,
|
|
438
438
|
"{0}, Run the Open Accessibility Help command for more information.",
|
|
439
439
|
placeholder
|
|
440
440
|
));
|
|
@@ -757,7 +757,7 @@ let SCMInputWidget = class SCMInputWidget {
|
|
|
757
757
|
}
|
|
758
758
|
const actionsContainer = append(validationContainer, $(".scm-editor-validation-actions"));
|
|
759
759
|
const actionbar = ( new ActionBar(actionsContainer));
|
|
760
|
-
const action = ( new Action("scmInputWidget.validationMessage.close", ( localize(
|
|
760
|
+
const action = ( new Action("scmInputWidget.validationMessage.close", ( localize(13797, "Close")), ThemeIcon.asClassName(Codicon.close), true, () => {
|
|
761
761
|
this.contextViewService.hideContextView();
|
|
762
762
|
this.element.style.borderBottomLeftRadius = "2px";
|
|
763
763
|
this.element.style.borderBottomRightRadius = "2px";
|
|
@@ -804,7 +804,7 @@ registerAction2(class extends Action2 {
|
|
|
804
804
|
constructor() {
|
|
805
805
|
super({
|
|
806
806
|
id: SCMInputWidgetCommandId.SetupAction,
|
|
807
|
-
title: ( localize(
|
|
807
|
+
title: ( localize(13798, "Generate Commit Message")),
|
|
808
808
|
icon: Codicon.sparkle,
|
|
809
809
|
f1: false,
|
|
810
810
|
menu: {
|
|
@@ -517,7 +517,7 @@ let SCMRepositoriesViewPane = class SCMRepositoriesViewPane extends ViewPane {
|
|
|
517
517
|
}
|
|
518
518
|
},
|
|
519
519
|
getWidgetAriaLabel() {
|
|
520
|
-
return localize(
|
|
520
|
+
return localize(13799, "Source Control Repositories");
|
|
521
521
|
}
|
|
522
522
|
}
|
|
523
523
|
}
|
|
@@ -785,7 +785,7 @@ let SCMAccessibilityProvider = class SCMAccessibilityProvider {
|
|
|
785
785
|
this.labelService = labelService;
|
|
786
786
|
}
|
|
787
787
|
getWidgetAriaLabel() {
|
|
788
|
-
return localize(
|
|
788
|
+
return localize(13800, "Source Control Management");
|
|
789
789
|
}
|
|
790
790
|
getAriaLabel(element) {
|
|
791
791
|
if (ResourceTree.isResourceNode(element)) {
|
|
@@ -798,15 +798,15 @@ let SCMAccessibilityProvider = class SCMAccessibilityProvider {
|
|
|
798
798
|
} else if (isSCMInput(element)) {
|
|
799
799
|
const verbosity = this.configurationService.getValue(AccessibilityVerbositySettingId.SourceControl) === true;
|
|
800
800
|
if (!verbosity || !this.accessibilityService.isScreenReaderOptimized()) {
|
|
801
|
-
return localize(
|
|
801
|
+
return localize(13801, "Source Control Input");
|
|
802
802
|
}
|
|
803
803
|
const kbLabel = this.keybindingService.lookupKeybinding(AccessibilityCommandId.OpenAccessibilityHelp)?.getLabel();
|
|
804
804
|
return kbLabel ? ( localize(
|
|
805
|
-
|
|
805
|
+
13802,
|
|
806
806
|
"Source Control Input, Use {0} to open Source Control Accessibility Help.",
|
|
807
807
|
kbLabel
|
|
808
808
|
)) : ( localize(
|
|
809
|
-
|
|
809
|
+
13803,
|
|
810
810
|
"Source Control Input, Run the Open Accessibility Help command for more information."
|
|
811
811
|
));
|
|
812
812
|
} else if (isSCMActionButton(element)) {
|
|
@@ -860,14 +860,14 @@ const ContextKeys = {
|
|
|
860
860
|
}
|
|
861
861
|
};
|
|
862
862
|
MenuRegistry.appendMenuItem(MenuId.SCMTitle, {
|
|
863
|
-
title: ( localize(
|
|
863
|
+
title: ( localize(13804, "View & Sort")),
|
|
864
864
|
submenu: Menus.ViewSort,
|
|
865
865
|
when: ( ContextKeyExpr.and(( ContextKeyExpr.equals("view", VIEW_PANE_ID)), ( ContextKeys.RepositoryCount.notEqualsTo(0)))),
|
|
866
866
|
group: "0_view&sort",
|
|
867
867
|
order: 1
|
|
868
868
|
});
|
|
869
869
|
MenuRegistry.appendMenuItem(Menus.ViewSort, {
|
|
870
|
-
title: ( localize(
|
|
870
|
+
title: ( localize(13805, "Repositories")),
|
|
871
871
|
submenu: Menus.Repositories,
|
|
872
872
|
when: ContextKeyExpr.greater(ContextKeys.RepositoryCount.key, 1),
|
|
873
873
|
group: "0_repositories"
|
|
@@ -959,7 +959,7 @@ class SetListViewModeAction extends ViewAction {
|
|
|
959
959
|
constructor(id = "workbench.scm.action.setListViewMode", menu = {}) {
|
|
960
960
|
super({
|
|
961
961
|
id,
|
|
962
|
-
title: ( localize(
|
|
962
|
+
title: ( localize(13806, "View as List")),
|
|
963
963
|
viewId: VIEW_PANE_ID,
|
|
964
964
|
f1: false,
|
|
965
965
|
icon: Codicon.listTree,
|
|
@@ -990,7 +990,7 @@ class SetTreeViewModeAction extends ViewAction {
|
|
|
990
990
|
constructor(id = "workbench.scm.action.setTreeViewMode", menu = {}) {
|
|
991
991
|
super({
|
|
992
992
|
id,
|
|
993
|
-
title: ( localize(
|
|
993
|
+
title: ( localize(13807, "View as Tree")),
|
|
994
994
|
viewId: VIEW_PANE_ID,
|
|
995
995
|
f1: false,
|
|
996
996
|
icon: Codicon.listFlat,
|
|
@@ -1044,17 +1044,17 @@ class RepositorySortAction extends Action2 {
|
|
|
1044
1044
|
}
|
|
1045
1045
|
class RepositorySortByDiscoveryTimeAction extends RepositorySortAction {
|
|
1046
1046
|
constructor() {
|
|
1047
|
-
super(ISCMRepositorySortKey.DiscoveryTime, ( localize(
|
|
1047
|
+
super(ISCMRepositorySortKey.DiscoveryTime, ( localize(13808, "Sort by Discovery Time")));
|
|
1048
1048
|
}
|
|
1049
1049
|
}
|
|
1050
1050
|
class RepositorySortByNameAction extends RepositorySortAction {
|
|
1051
1051
|
constructor() {
|
|
1052
|
-
super(ISCMRepositorySortKey.Name, ( localize(
|
|
1052
|
+
super(ISCMRepositorySortKey.Name, ( localize(13809, "Sort by Name")));
|
|
1053
1053
|
}
|
|
1054
1054
|
}
|
|
1055
1055
|
class RepositorySortByPathAction extends RepositorySortAction {
|
|
1056
1056
|
constructor() {
|
|
1057
|
-
super(ISCMRepositorySortKey.Path, ( localize(
|
|
1057
|
+
super(ISCMRepositorySortKey.Path, ( localize(13810, "Sort by Path")));
|
|
1058
1058
|
}
|
|
1059
1059
|
}
|
|
1060
1060
|
registerAction2(RepositorySortByDiscoveryTimeAction);
|
|
@@ -1087,12 +1087,12 @@ class RepositorySelectionModeAction extends Action2 {
|
|
|
1087
1087
|
}
|
|
1088
1088
|
class RepositorySingleSelectionModeAction extends RepositorySelectionModeAction {
|
|
1089
1089
|
constructor() {
|
|
1090
|
-
super(ISCMRepositorySelectionMode.Single, ( localize(
|
|
1090
|
+
super(ISCMRepositorySelectionMode.Single, ( localize(13811, "Select Single Repository")), 1);
|
|
1091
1091
|
}
|
|
1092
1092
|
}
|
|
1093
1093
|
class RepositoryMultiSelectionModeAction extends RepositorySelectionModeAction {
|
|
1094
1094
|
constructor() {
|
|
1095
|
-
super(ISCMRepositorySelectionMode.Multiple, ( localize(
|
|
1095
|
+
super(ISCMRepositorySelectionMode.Multiple, ( localize(13812, "Select Multiple Repositories")), 2);
|
|
1096
1096
|
}
|
|
1097
1097
|
}
|
|
1098
1098
|
registerAction2(RepositorySingleSelectionModeAction);
|
|
@@ -1119,17 +1119,17 @@ class SetSortKeyAction extends ViewAction {
|
|
|
1119
1119
|
}
|
|
1120
1120
|
class SetSortByNameAction extends SetSortKeyAction {
|
|
1121
1121
|
constructor() {
|
|
1122
|
-
super(ViewSortKey.Name, ( localize(
|
|
1122
|
+
super(ViewSortKey.Name, ( localize(13813, "Sort Changes by Name")));
|
|
1123
1123
|
}
|
|
1124
1124
|
}
|
|
1125
1125
|
class SetSortByPathAction extends SetSortKeyAction {
|
|
1126
1126
|
constructor() {
|
|
1127
|
-
super(ViewSortKey.Path, ( localize(
|
|
1127
|
+
super(ViewSortKey.Path, ( localize(13814, "Sort Changes by Path")));
|
|
1128
1128
|
}
|
|
1129
1129
|
}
|
|
1130
1130
|
class SetSortByStatusAction extends SetSortKeyAction {
|
|
1131
1131
|
constructor() {
|
|
1132
|
-
super(ViewSortKey.Status, ( localize(
|
|
1132
|
+
super(ViewSortKey.Status, ( localize(13815, "Sort Changes by Status")));
|
|
1133
1133
|
}
|
|
1134
1134
|
}
|
|
1135
1135
|
registerAction2(SetSortByNameAction);
|
|
@@ -1139,7 +1139,7 @@ class CollapseAllRepositoriesAction extends ViewAction {
|
|
|
1139
1139
|
constructor() {
|
|
1140
1140
|
super({
|
|
1141
1141
|
id: `workbench.scm.action.collapseAllRepositories`,
|
|
1142
|
-
title: ( localize(
|
|
1142
|
+
title: ( localize(13816, "Collapse All Repositories")),
|
|
1143
1143
|
viewId: VIEW_PANE_ID,
|
|
1144
1144
|
f1: false,
|
|
1145
1145
|
icon: Codicon.collapseAll,
|
|
@@ -1158,7 +1158,7 @@ class ExpandAllRepositoriesAction extends ViewAction {
|
|
|
1158
1158
|
constructor() {
|
|
1159
1159
|
super({
|
|
1160
1160
|
id: `workbench.scm.action.expandAllRepositories`,
|
|
1161
|
-
title: ( localize(
|
|
1161
|
+
title: ( localize(13817, "Expand All Repositories")),
|
|
1162
1162
|
viewId: VIEW_PANE_ID,
|
|
1163
1163
|
f1: false,
|
|
1164
1164
|
icon: Codicon.expandAll,
|
|
@@ -1179,7 +1179,7 @@ class CollapseAllAction extends ViewAction {
|
|
|
1179
1179
|
constructor() {
|
|
1180
1180
|
super({
|
|
1181
1181
|
id: `workbench.scm.action.collapseAll`,
|
|
1182
|
-
title: ( localize(
|
|
1182
|
+
title: ( localize(13818, "Collapse All")),
|
|
1183
1183
|
viewId: VIEW_PANE_ID,
|
|
1184
1184
|
f1: false,
|
|
1185
1185
|
icon: Codicon.collapseAll,
|
|
@@ -60,7 +60,7 @@ let RepositoryPicker = class RepositoryPicker {
|
|
|
60
60
|
this._quickInputService = _quickInputService;
|
|
61
61
|
this._scmViewService = _scmViewService;
|
|
62
62
|
this._autoQuickPickItem = {
|
|
63
|
-
label: ( localize(
|
|
63
|
+
label: ( localize(13819, "Auto")),
|
|
64
64
|
description: this._autoQuickItemDescription,
|
|
65
65
|
repository: "auto"
|
|
66
66
|
};
|