@codingame/monaco-vscode-scm-service-override 4.5.1 → 4.5.2
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 +38 -46
- package/vscode/src/vs/workbench/contrib/scm/browser/menus.js +35 -34
- package/vscode/src/vs/workbench/contrib/scm/browser/scm.contribution.js +155 -287
- package/vscode/src/vs/workbench/contrib/scm/browser/scmRepositoriesViewPane.js +24 -27
- package/vscode/src/vs/workbench/contrib/scm/browser/scmRepositoryRenderer.js +1 -1
- package/vscode/src/vs/workbench/contrib/scm/browser/scmViewPane.js +370 -501
- package/vscode/src/vs/workbench/contrib/scm/browser/scmViewPaneContainer.js +15 -18
- package/vscode/src/vs/workbench/contrib/scm/common/scmService.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-scm-service-override",
|
|
3
|
-
"version": "4.5.
|
|
3
|
+
"version": "4.5.2",
|
|
4
4
|
"keywords": [],
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "CodinGame",
|
|
@@ -26,6 +26,6 @@
|
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"vscode": "npm:@codingame/monaco-vscode-api@4.5.
|
|
29
|
+
"vscode": "npm:@codingame/monaco-vscode-api@4.5.2"
|
|
30
30
|
}
|
|
31
31
|
}
|
|
@@ -18,6 +18,7 @@ import { Schemas } from 'vscode/vscode/vs/base/common/network';
|
|
|
18
18
|
import { Iterable } from 'vscode/vscode/vs/base/common/iterator';
|
|
19
19
|
import { ITitleService } from 'vscode/vscode/vs/workbench/services/title/browser/titleService.service';
|
|
20
20
|
|
|
21
|
+
const _moduleId = "vs/workbench/contrib/scm/browser/activity";
|
|
21
22
|
function getCount(repository) {
|
|
22
23
|
if (typeof repository.provider.count === 'number') {
|
|
23
24
|
return repository.provider.count;
|
|
@@ -38,9 +39,9 @@ let SCMStatusController = class SCMStatusController {
|
|
|
38
39
|
this.statusBarDisposable = Disposable.None;
|
|
39
40
|
this.focusDisposable = Disposable.None;
|
|
40
41
|
this.focusedRepository = undefined;
|
|
41
|
-
this.badgeDisposable = ( new MutableDisposable());
|
|
42
|
-
this.disposables = ( new DisposableStore());
|
|
43
|
-
this.repositoryDisposables = ( new Set());
|
|
42
|
+
this.badgeDisposable = ( (new MutableDisposable()));
|
|
43
|
+
this.disposables = ( (new DisposableStore()));
|
|
44
|
+
this.repositoryDisposables = ( (new Set()));
|
|
44
45
|
this.scmService.onDidAddRepository(this.onDidAddRepository, this, this.disposables);
|
|
45
46
|
this.scmService.onDidRemoveRepository(this.onDidRemoveRepository, this, this.disposables);
|
|
46
47
|
const onDidChangeSCMCountBadge = Event.filter(configurationService.onDidChangeConfiguration, e => e.affectsConfiguration('scm.countBadge'));
|
|
@@ -117,7 +118,7 @@ let SCMStatusController = class SCMStatusController {
|
|
|
117
118
|
const label = repository.provider.rootUri
|
|
118
119
|
? `${basename(repository.provider.rootUri)} (${repository.provider.label})`
|
|
119
120
|
: repository.provider.label;
|
|
120
|
-
const disposables = ( new DisposableStore());
|
|
121
|
+
const disposables = ( (new DisposableStore()));
|
|
121
122
|
for (let index = 0; index < commands.length; index++) {
|
|
122
123
|
const command = commands[index];
|
|
123
124
|
const tooltip = `${label}${command.tooltip ? ` - ${command.tooltip}` : ''}`;
|
|
@@ -134,11 +135,7 @@ let SCMStatusController = class SCMStatusController {
|
|
|
134
135
|
repoAgnosticActionName = '';
|
|
135
136
|
}
|
|
136
137
|
const statusbarEntry = {
|
|
137
|
-
name: ( localizeWithPath(
|
|
138
|
-
'vs/workbench/contrib/scm/browser/activity',
|
|
139
|
-
'status.scm',
|
|
140
|
-
"Source Control"
|
|
141
|
-
)) + (repoAgnosticActionName ? ` ${repoAgnosticActionName}` : ''),
|
|
138
|
+
name: ( localizeWithPath(_moduleId, 0, "Source Control")) + (repoAgnosticActionName ? ` ${repoAgnosticActionName}` : ''),
|
|
142
139
|
text: command.title,
|
|
143
140
|
ariaLabel: tooltip,
|
|
144
141
|
tooltip,
|
|
@@ -160,12 +157,7 @@ let SCMStatusController = class SCMStatusController {
|
|
|
160
157
|
count = getCount(this.focusedRepository);
|
|
161
158
|
}
|
|
162
159
|
if (count > 0) {
|
|
163
|
-
const badge = ( new NumberBadge(count, num => ( localizeWithPath(
|
|
164
|
-
'vs/workbench/contrib/scm/browser/activity',
|
|
165
|
-
'scmPendingChangesBadge',
|
|
166
|
-
'{0} pending changes',
|
|
167
|
-
num
|
|
168
|
-
))));
|
|
160
|
+
const badge = ( (new NumberBadge(count, num => ( localizeWithPath(_moduleId, 1, '{0} pending changes', num)))));
|
|
169
161
|
this.badgeDisposable.value = this.activityService.showViewActivity(VIEW_PANE_ID, { badge });
|
|
170
162
|
}
|
|
171
163
|
else {
|
|
@@ -177,22 +169,22 @@ let SCMStatusController = class SCMStatusController {
|
|
|
177
169
|
this.statusBarDisposable.dispose();
|
|
178
170
|
this.badgeDisposable.dispose();
|
|
179
171
|
this.disposables.dispose();
|
|
180
|
-
dispose(( this.repositoryDisposables.values()));
|
|
172
|
+
dispose(( (this.repositoryDisposables.values())));
|
|
181
173
|
this.repositoryDisposables.clear();
|
|
182
174
|
}
|
|
183
175
|
};
|
|
184
|
-
SCMStatusController = ( __decorate([
|
|
185
|
-
( __param(0, ISCMService)),
|
|
186
|
-
( __param(1, ISCMViewService)),
|
|
187
|
-
( __param(2, IStatusbarService)),
|
|
188
|
-
( __param(3, IActivityService)),
|
|
189
|
-
( __param(4, IEditorService)),
|
|
190
|
-
( __param(5, IConfigurationService)),
|
|
191
|
-
( __param(6, IUriIdentityService))
|
|
192
|
-
], SCMStatusController));
|
|
176
|
+
SCMStatusController = ( (__decorate([
|
|
177
|
+
( (__param(0, ISCMService))),
|
|
178
|
+
( (__param(1, ISCMViewService))),
|
|
179
|
+
( (__param(2, IStatusbarService))),
|
|
180
|
+
( (__param(3, IActivityService))),
|
|
181
|
+
( (__param(4, IEditorService))),
|
|
182
|
+
( (__param(5, IConfigurationService))),
|
|
183
|
+
( (__param(6, IUriIdentityService)))
|
|
184
|
+
], SCMStatusController)));
|
|
193
185
|
const ActiveRepositoryContextKeys = {
|
|
194
|
-
ActiveRepositoryName: ( new RawContextKey('scmActiveRepositoryName', '')),
|
|
195
|
-
ActiveRepositoryBranchName: ( new RawContextKey('scmActiveRepositoryBranchName', '')),
|
|
186
|
+
ActiveRepositoryName: ( (new RawContextKey('scmActiveRepositoryName', ''))),
|
|
187
|
+
ActiveRepositoryBranchName: ( (new RawContextKey('scmActiveRepositoryBranchName', ''))),
|
|
196
188
|
};
|
|
197
189
|
let SCMActiveRepositoryContextKeyController = class SCMActiveRepositoryContextKeyController {
|
|
198
190
|
constructor(contextKeyService, editorService, scmViewService, titleService, uriIdentityService) {
|
|
@@ -201,7 +193,7 @@ let SCMActiveRepositoryContextKeyController = class SCMActiveRepositoryContextKe
|
|
|
201
193
|
this.uriIdentityService = uriIdentityService;
|
|
202
194
|
this.focusedRepository = undefined;
|
|
203
195
|
this.focusDisposable = Disposable.None;
|
|
204
|
-
this.disposables = ( new DisposableStore());
|
|
196
|
+
this.disposables = ( (new DisposableStore()));
|
|
205
197
|
this.activeRepositoryNameContextKey = ActiveRepositoryContextKeys.ActiveRepositoryName.bindTo(contextKeyService);
|
|
206
198
|
this.activeRepositoryBranchNameContextKey = ActiveRepositoryContextKeys.ActiveRepositoryBranchName.bindTo(contextKeyService);
|
|
207
199
|
titleService.registerVariables([
|
|
@@ -240,20 +232,20 @@ let SCMActiveRepositoryContextKeyController = class SCMActiveRepositoryContextKe
|
|
|
240
232
|
this.disposables.dispose();
|
|
241
233
|
}
|
|
242
234
|
};
|
|
243
|
-
SCMActiveRepositoryContextKeyController = ( __decorate([
|
|
244
|
-
( __param(0, IContextKeyService)),
|
|
245
|
-
( __param(1, IEditorService)),
|
|
246
|
-
( __param(2, ISCMViewService)),
|
|
247
|
-
( __param(3, ITitleService)),
|
|
248
|
-
( __param(4, IUriIdentityService))
|
|
249
|
-
], SCMActiveRepositoryContextKeyController));
|
|
235
|
+
SCMActiveRepositoryContextKeyController = ( (__decorate([
|
|
236
|
+
( (__param(0, IContextKeyService))),
|
|
237
|
+
( (__param(1, IEditorService))),
|
|
238
|
+
( (__param(2, ISCMViewService))),
|
|
239
|
+
( (__param(3, ITitleService))),
|
|
240
|
+
( (__param(4, IUriIdentityService)))
|
|
241
|
+
], SCMActiveRepositoryContextKeyController)));
|
|
250
242
|
let SCMActiveResourceContextKeyController = class SCMActiveResourceContextKeyController {
|
|
251
243
|
constructor(contextKeyService, editorService, scmService, uriIdentityService) {
|
|
252
244
|
this.editorService = editorService;
|
|
253
245
|
this.scmService = scmService;
|
|
254
246
|
this.uriIdentityService = uriIdentityService;
|
|
255
|
-
this.disposables = ( new DisposableStore());
|
|
256
|
-
this.repositoryDisposables = ( new Set());
|
|
247
|
+
this.disposables = ( (new DisposableStore()));
|
|
248
|
+
this.repositoryDisposables = ( (new Set()));
|
|
257
249
|
this.activeResourceHasChangesContextKey = contextKeyService.createKey('scmActiveResourceHasChanges', false);
|
|
258
250
|
this.activeResourceRepositoryContextKey = contextKeyService.createKey('scmActiveResourceRepository', undefined);
|
|
259
251
|
this.scmService.onDidAddRepository(this.onDidAddRepository, this, this.disposables);
|
|
@@ -280,10 +272,10 @@ let SCMActiveResourceContextKeyController = class SCMActiveResourceContextKeyCon
|
|
|
280
272
|
const activeResourceRepository = Iterable.find(this.scmService.repositories, r => Boolean(r.provider.rootUri && this.uriIdentityService.extUri.isEqualOrParent(activeResource, r.provider.rootUri)));
|
|
281
273
|
this.activeResourceRepositoryContextKey.set(activeResourceRepository?.id);
|
|
282
274
|
for (const resourceGroup of activeResourceRepository?.provider.groups ?? []) {
|
|
283
|
-
if (( resourceGroup.resources
|
|
275
|
+
if (( (resourceGroup.resources
|
|
284
276
|
.some(
|
|
285
277
|
scmResource => this.uriIdentityService.extUri.isEqual(activeResource, scmResource.sourceUri)
|
|
286
|
-
))) {
|
|
278
|
+
)))) {
|
|
287
279
|
this.activeResourceHasChangesContextKey.set(true);
|
|
288
280
|
return;
|
|
289
281
|
}
|
|
@@ -297,15 +289,15 @@ let SCMActiveResourceContextKeyController = class SCMActiveResourceContextKeyCon
|
|
|
297
289
|
}
|
|
298
290
|
dispose() {
|
|
299
291
|
this.disposables.dispose();
|
|
300
|
-
dispose(( this.repositoryDisposables.values()));
|
|
292
|
+
dispose(( (this.repositoryDisposables.values())));
|
|
301
293
|
this.repositoryDisposables.clear();
|
|
302
294
|
}
|
|
303
295
|
};
|
|
304
|
-
SCMActiveResourceContextKeyController = ( __decorate([
|
|
305
|
-
( __param(0, IContextKeyService)),
|
|
306
|
-
( __param(1, IEditorService)),
|
|
307
|
-
( __param(2, ISCMService)),
|
|
308
|
-
( __param(3, IUriIdentityService))
|
|
309
|
-
], SCMActiveResourceContextKeyController));
|
|
296
|
+
SCMActiveResourceContextKeyController = ( (__decorate([
|
|
297
|
+
( (__param(0, IContextKeyService))),
|
|
298
|
+
( (__param(1, IEditorService))),
|
|
299
|
+
( (__param(2, ISCMService))),
|
|
300
|
+
( (__param(3, IUriIdentityService)))
|
|
301
|
+
], SCMActiveResourceContextKeyController)));
|
|
310
302
|
|
|
311
303
|
export { SCMActiveRepositoryContextKeyController, SCMActiveResourceContextKeyController, SCMStatusController };
|
|
@@ -12,12 +12,13 @@ import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/c
|
|
|
12
12
|
import { ServiceCollection } from 'vscode/vscode/vs/platform/instantiation/common/serviceCollection';
|
|
13
13
|
import { ISCMService } from 'vscode/vscode/vs/workbench/contrib/scm/common/scm.service';
|
|
14
14
|
|
|
15
|
+
const _moduleId = "vs/workbench/contrib/scm/browser/menus";
|
|
15
16
|
function actionEquals(a, b) {
|
|
16
17
|
return a.id === b.id;
|
|
17
18
|
}
|
|
18
|
-
const repositoryMenuDisposables = ( new DisposableStore());
|
|
19
|
+
const repositoryMenuDisposables = ( (new DisposableStore()));
|
|
19
20
|
MenuRegistry.onDidChangeMenu(e => {
|
|
20
|
-
if (( e.has(MenuId.SCMTitle))) {
|
|
21
|
+
if (( (e.has(MenuId.SCMTitle)))) {
|
|
21
22
|
repositoryMenuDisposables.clear();
|
|
22
23
|
for (const menuItem of MenuRegistry.getMenuItems(MenuId.SCMTitle)) {
|
|
23
24
|
repositoryMenuDisposables.add(MenuRegistry.appendMenuItem(MenuId.SCMSourceControlInline, menuItem));
|
|
@@ -30,9 +31,9 @@ let SCMTitleMenu = class SCMTitleMenu {
|
|
|
30
31
|
constructor(menuService, contextKeyService) {
|
|
31
32
|
this._actions = [];
|
|
32
33
|
this._secondaryActions = [];
|
|
33
|
-
this._onDidChangeTitle = ( new Emitter());
|
|
34
|
+
this._onDidChangeTitle = ( (new Emitter()));
|
|
34
35
|
this.onDidChangeTitle = this._onDidChangeTitle.event;
|
|
35
|
-
this.disposables = ( new DisposableStore());
|
|
36
|
+
this.disposables = ( (new DisposableStore()));
|
|
36
37
|
this.menu = menuService.createMenu(MenuId.SCMTitle, contextKeyService);
|
|
37
38
|
this.disposables.add(this.menu);
|
|
38
39
|
this.menu.onDidChange(this.updateTitleActions, this, this.disposables);
|
|
@@ -53,10 +54,10 @@ let SCMTitleMenu = class SCMTitleMenu {
|
|
|
53
54
|
this.disposables.dispose();
|
|
54
55
|
}
|
|
55
56
|
};
|
|
56
|
-
SCMTitleMenu = ( __decorate([
|
|
57
|
-
( __param(0, IMenuService)),
|
|
58
|
-
( __param(1, IContextKeyService))
|
|
59
|
-
], SCMTitleMenu));
|
|
57
|
+
SCMTitleMenu = ( (__decorate([
|
|
58
|
+
( (__param(0, IMenuService))),
|
|
59
|
+
( (__param(1, IContextKeyService)))
|
|
60
|
+
], SCMTitleMenu)));
|
|
60
61
|
class SCMMenusItem {
|
|
61
62
|
get resourceGroupMenu() {
|
|
62
63
|
if (!this._resourceGroupMenu) {
|
|
@@ -82,7 +83,7 @@ class SCMMenusItem {
|
|
|
82
83
|
return this.genericResourceMenu;
|
|
83
84
|
}
|
|
84
85
|
if (!this.contextualResourceMenus) {
|
|
85
|
-
this.contextualResourceMenus = ( new Map());
|
|
86
|
+
this.contextualResourceMenus = ( (new Map()));
|
|
86
87
|
}
|
|
87
88
|
let item = this.contextualResourceMenus.get(resource.contextValue);
|
|
88
89
|
if (!item) {
|
|
@@ -102,7 +103,7 @@ class SCMMenusItem {
|
|
|
102
103
|
this._resourceFolderMenu?.dispose();
|
|
103
104
|
this.genericResourceMenu?.dispose();
|
|
104
105
|
if (this.contextualResourceMenus) {
|
|
105
|
-
dispose(( this.contextualResourceMenus.values()));
|
|
106
|
+
dispose(( (this.contextualResourceMenus.values())));
|
|
106
107
|
this.contextualResourceMenus.clear();
|
|
107
108
|
this.contextualResourceMenus = undefined;
|
|
108
109
|
}
|
|
@@ -118,7 +119,7 @@ let SCMRepositoryMenus = class SCMRepositoryMenus {
|
|
|
118
119
|
}
|
|
119
120
|
get historyProviderMenu() {
|
|
120
121
|
if (this.provider.historyProvider && !this._historyProviderMenu) {
|
|
121
|
-
this._historyProviderMenu = ( new SCMHistoryProviderMenus(this.contextKeyService, this.menuService));
|
|
122
|
+
this._historyProviderMenu = ( (new SCMHistoryProviderMenus(this.contextKeyService, this.menuService)));
|
|
122
123
|
this.disposables.add(this._historyProviderMenu);
|
|
123
124
|
}
|
|
124
125
|
return this._historyProviderMenu;
|
|
@@ -126,14 +127,14 @@ let SCMRepositoryMenus = class SCMRepositoryMenus {
|
|
|
126
127
|
constructor(provider, contextKeyService, instantiationService, menuService) {
|
|
127
128
|
this.provider = provider;
|
|
128
129
|
this.menuService = menuService;
|
|
129
|
-
this.resourceGroupMenusItems = ( new Map());
|
|
130
|
-
this.disposables = ( new DisposableStore());
|
|
130
|
+
this.resourceGroupMenusItems = ( (new Map()));
|
|
131
|
+
this.disposables = ( (new DisposableStore()));
|
|
131
132
|
this.contextKeyService = contextKeyService.createOverlay([
|
|
132
133
|
['scmProvider', provider.contextValue],
|
|
133
134
|
['scmProviderRootUri', provider.rootUri?.toString()],
|
|
134
135
|
['scmProviderHasRootUri', !!provider.rootUri],
|
|
135
136
|
]);
|
|
136
|
-
const serviceCollection = ( new ServiceCollection([IContextKeyService, this.contextKeyService]));
|
|
137
|
+
const serviceCollection = ( (new ServiceCollection([IContextKeyService, this.contextKeyService])));
|
|
137
138
|
instantiationService = instantiationService.createChild(serviceCollection);
|
|
138
139
|
this.titleMenu = instantiationService.createInstance(SCMTitleMenu);
|
|
139
140
|
this.disposables.add(this.titleMenu);
|
|
@@ -158,13 +159,13 @@ let SCMRepositoryMenus = class SCMRepositoryMenus {
|
|
|
158
159
|
['scmResourceGroup', group.id],
|
|
159
160
|
['multiDiffEditorEnableViewChanges', group.multiDiffEditorEnableViewChanges],
|
|
160
161
|
]);
|
|
161
|
-
result = ( new SCMMenusItem(contextKeyService, this.menuService));
|
|
162
|
+
result = ( (new SCMMenusItem(contextKeyService, this.menuService)));
|
|
162
163
|
this.resourceGroupMenusItems.set(group, result);
|
|
163
164
|
}
|
|
164
165
|
return result;
|
|
165
166
|
}
|
|
166
167
|
onDidChangeResourceGroups() {
|
|
167
|
-
for (const resourceGroup of ( this.resourceGroupMenusItems.keys())) {
|
|
168
|
+
for (const resourceGroup of ( (this.resourceGroupMenusItems.keys()))) {
|
|
168
169
|
if (!this.provider.groups.includes(resourceGroup)) {
|
|
169
170
|
this.resourceGroupMenusItems.get(resourceGroup)?.dispose();
|
|
170
171
|
this.resourceGroupMenusItems.delete(resourceGroup);
|
|
@@ -176,17 +177,17 @@ let SCMRepositoryMenus = class SCMRepositoryMenus {
|
|
|
176
177
|
this.resourceGroupMenusItems.forEach(item => item.dispose());
|
|
177
178
|
}
|
|
178
179
|
};
|
|
179
|
-
SCMRepositoryMenus = ( __decorate([
|
|
180
|
-
( __param(1, IContextKeyService)),
|
|
181
|
-
( __param(2, IInstantiationService)),
|
|
182
|
-
( __param(3, IMenuService))
|
|
183
|
-
], SCMRepositoryMenus));
|
|
180
|
+
SCMRepositoryMenus = ( (__decorate([
|
|
181
|
+
( (__param(1, IContextKeyService))),
|
|
182
|
+
( (__param(2, IInstantiationService))),
|
|
183
|
+
( (__param(3, IMenuService)))
|
|
184
|
+
], SCMRepositoryMenus)));
|
|
184
185
|
let SCMHistoryProviderMenus = class SCMHistoryProviderMenus {
|
|
185
186
|
constructor(contextKeyService, menuService) {
|
|
186
187
|
this.contextKeyService = contextKeyService;
|
|
187
188
|
this.menuService = menuService;
|
|
188
|
-
this.historyItemMenus = ( new Map());
|
|
189
|
-
this.disposables = ( new DisposableStore());
|
|
189
|
+
this.historyItemMenus = ( (new Map()));
|
|
190
|
+
this.disposables = ( (new DisposableStore()));
|
|
190
191
|
}
|
|
191
192
|
getHistoryItemMenu(historyItem) {
|
|
192
193
|
return this.getOrCreateHistoryItemMenu(historyItem);
|
|
@@ -233,15 +234,15 @@ let SCMHistoryProviderMenus = class SCMHistoryProviderMenus {
|
|
|
233
234
|
this.disposables.dispose();
|
|
234
235
|
}
|
|
235
236
|
};
|
|
236
|
-
SCMHistoryProviderMenus = ( __decorate([
|
|
237
|
-
( __param(0, IContextKeyService)),
|
|
238
|
-
( __param(1, IMenuService))
|
|
239
|
-
], SCMHistoryProviderMenus));
|
|
237
|
+
SCMHistoryProviderMenus = ( (__decorate([
|
|
238
|
+
( (__param(0, IContextKeyService))),
|
|
239
|
+
( (__param(1, IMenuService)))
|
|
240
|
+
], SCMHistoryProviderMenus)));
|
|
240
241
|
let SCMMenus = class SCMMenus {
|
|
241
242
|
constructor(scmService, instantiationService) {
|
|
242
243
|
this.instantiationService = instantiationService;
|
|
243
|
-
this.disposables = ( new DisposableStore());
|
|
244
|
-
this.menus = ( new Map());
|
|
244
|
+
this.disposables = ( (new DisposableStore()));
|
|
245
|
+
this.menus = ( (new Map()));
|
|
245
246
|
this.titleMenu = instantiationService.createInstance(SCMTitleMenu);
|
|
246
247
|
scmService.onDidRemoveRepository(this.onDidRemoveRepository, this, this.disposables);
|
|
247
248
|
}
|
|
@@ -267,12 +268,12 @@ let SCMMenus = class SCMMenus {
|
|
|
267
268
|
this.disposables.dispose();
|
|
268
269
|
}
|
|
269
270
|
};
|
|
270
|
-
SCMMenus = ( __decorate([
|
|
271
|
-
( __param(0, ISCMService)),
|
|
272
|
-
( __param(1, IInstantiationService))
|
|
273
|
-
], SCMMenus));
|
|
271
|
+
SCMMenus = ( (__decorate([
|
|
272
|
+
( (__param(0, ISCMService))),
|
|
273
|
+
( (__param(1, IInstantiationService)))
|
|
274
|
+
], SCMMenus)));
|
|
274
275
|
MenuRegistry.appendMenuItem(MenuId.SCMResourceContext, {
|
|
275
|
-
title: ( localizeWithPath(
|
|
276
|
+
title: ( localizeWithPath(_moduleId, 0, "Share")),
|
|
276
277
|
submenu: MenuId.SCMResourceContextShare,
|
|
277
278
|
group: '45_share',
|
|
278
279
|
order: 3,
|