Skip to content

Commit 3481f35

Browse files
authored
Move sync extension action to secondary actions (microsoft#199218)
1 parent dcb066e commit 3481f35

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/vs/workbench/contrib/extensions/browser/extensionEditor.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ import {
7474
SetProductIconThemeAction,
7575
ToggleAutoUpdateForExtensionAction,
7676
SwitchToPreReleaseVersionAction, SwitchToReleasedVersionAction,
77-
ToggleSyncExtensionAction,
7877
UninstallAction,
7978
UpdateAction,
8079
WebInstallAction
@@ -368,7 +367,6 @@ export class ExtensionEditor extends EditorPane {
368367
]),
369368
this.instantiationService.createInstance(SwitchToPreReleaseVersionAction, false),
370369
this.instantiationService.createInstance(SwitchToReleasedVersionAction, false),
371-
this.instantiationService.createInstance(ToggleSyncExtensionAction),
372370
this.instantiationService.createInstance(ToggleAutoUpdateForExtensionAction, false, [false, 'onlySelectedExtensions']),
373371
new ExtensionEditorManageExtensionAction(this.scopedContextKeyService || this.contextKeyService, this.instantiationService),
374372
];

src/vs/workbench/contrib/extensions/browser/extensions.contribution.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1510,7 +1510,7 @@ class ExtensionsContributions extends Disposable implements IWorkbenchContributi
15101510
menu: {
15111511
id: MenuId.ExtensionContext,
15121512
group: '2_configure',
1513-
when: ContextKeyExpr.and(CONTEXT_SYNC_ENABLEMENT, ContextKeyExpr.has('inExtensionEditor').negate()),
1513+
when: ContextKeyExpr.and(CONTEXT_SYNC_ENABLEMENT),
15141514
order: 4
15151515
},
15161516
run: async (accessor: ServicesAccessor, id: string) => {

0 commit comments

Comments
 (0)