mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
Fixed UI regression (#16526)
* Add CodeQL Analysis workflow (#10195) * Add CodeQL Analysis workflow * Fix path * Fixed UI regression in main * removed the file which should not been included * Addressed PR comments * Addressed PR Co-authored-by: Justin Hutchings <jhutchings1@users.noreply.github.com>
This commit is contained in:
@@ -74,6 +74,7 @@ import { EditorExtensions } from 'vs/workbench/common/editor';
|
||||
import { WORKSPACE_TRUST_EXTENSION_SUPPORT } from 'vs/workbench/services/workspaces/common/workspaceTrust';
|
||||
import { IStorageService, StorageScope, StorageTarget } from 'vs/platform/storage/common/storage'; // {{SQL CARBON EDIT}}
|
||||
import * as locConstants from 'sql/base/common/locConstants'; // {{SQL CARBON EDIT}}
|
||||
import product from 'vs/platform/product/common/product'; // {{SQL CARBON EDIT}}
|
||||
|
||||
// Singletons
|
||||
registerSingleton(IExtensionsWorkbenchService, ExtensionsWorkbenchService);
|
||||
@@ -676,6 +677,8 @@ class ExtensionsContributions extends Disposable implements IWorkbenchContributi
|
||||
}
|
||||
});
|
||||
|
||||
if (product.quality !== 'saw') { // {{SQL CARBON EDIT}} - Remove items that are not required
|
||||
|
||||
this.registerExtensionAction({
|
||||
id: 'workbench.extensions.action.disableAllWorkspace',
|
||||
title: { value: localize('disableAllWorkspace', "Disable All Installed Extensions for this Workspace"), original: 'Disable All Installed Extensions for this Workspace' },
|
||||
@@ -816,7 +819,7 @@ class ExtensionsContributions extends Disposable implements IWorkbenchContributi
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
const extensionsFilterSubMenu = new MenuId('extensionsFilterSubMenu');
|
||||
MenuRegistry.appendMenuItem(MenuId.ViewContainerTitle, <ISubmenuItem>{
|
||||
submenu: extensionsFilterSubMenu,
|
||||
|
||||
@@ -110,6 +110,7 @@ import * as locConstants from 'sql/base/common/locConstants'; // {{SQL CARBON ED
|
||||
// Menu
|
||||
(function registerMenu(): void {
|
||||
|
||||
if (product.quality !== 'saw') { // {{SQL CARBON EDIT}} - Remove items that are not required
|
||||
MenuRegistry.appendMenuItem(MenuId.MenubarFileMenu, { // {{SQL CARBON EDIT}} - Add install VSIX menu item
|
||||
group: '5.1_installExtension',
|
||||
command: {
|
||||
@@ -117,7 +118,7 @@ import * as locConstants from 'sql/base/common/locConstants'; // {{SQL CARBON ED
|
||||
title: locConstants.desktopContributionMiinstallVsix
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
MenuRegistry.appendMenuItem(MenuId.MenubarFileMenu, {
|
||||
group: '6_close',
|
||||
|
||||
Reference in New Issue
Block a user