Skip to content

Commit 429d6d2

Browse files
authored
remove the extension action to apply in all profiles microsoft#157492 (microsoft#187815)
1 parent 7895f9b commit 429d6d2

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

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

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1442,24 +1442,6 @@ class ExtensionsContributions extends Disposable implements IWorkbenchContributi
14421442
}
14431443
});
14441444

1445-
this.registerExtensionAction({
1446-
id: 'workbench.extensions.action.toggleApplyToAllProfiles',
1447-
title: { value: localize('workbench.extensions.action.toggleApplyToAllProfiles', "Apply this Extension to all Profiles"), original: `Apply this Extension to all Profiles` },
1448-
toggled: ContextKeyExpr.has('isApplicationScopedExtension'),
1449-
menu: {
1450-
id: MenuId.ExtensionContext,
1451-
group: '2_configure',
1452-
when: ContextKeyExpr.and(ContextKeyExpr.equals('extensionStatus', 'installed'), ContextKeyExpr.has('isDefaultApplicationScopedExtension').negate()),
1453-
order: 4
1454-
},
1455-
run: async (accessor: ServicesAccessor, id: string) => {
1456-
const extension = this.extensionsWorkbenchService.local.find(e => areSameExtensions({ id }, e.identifier));
1457-
if (extension) {
1458-
return this.extensionsWorkbenchService.toggleApplyExtensionToAllProfiles(extension);
1459-
}
1460-
}
1461-
});
1462-
14631445
this.registerExtensionAction({
14641446
id: 'workbench.extensions.action.ignoreRecommendation',
14651447
title: { value: localize('workbench.extensions.action.ignoreRecommendation', "Ignore Recommendation"), original: `Ignore Recommendation` },

0 commit comments

Comments
 (0)