mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Add "preview features" config switch (#2334)
* Initial working commit for preview features config * Clean up code * Update tests * Remove unused imports * Update message and options * Update don't show again message
This commit is contained in:
@@ -9,6 +9,8 @@ import { GettingStarted } from './gettingStarted';
|
||||
import { TelemetryOptOut } from './telemetryOptOut';
|
||||
import { IWorkbenchContributionsRegistry, Extensions as WorkbenchExtensions } from 'vs/workbench/common/contributions';
|
||||
import { LifecyclePhase } from 'vs/platform/lifecycle/common/lifecycle';
|
||||
// {{SQL CARBON EDIT}} - Add preview feature switch
|
||||
import { EnablePreviewFeatures } from 'sql/workbench/electron-browser/enablePreviewFeatures';
|
||||
|
||||
// {{SQL CARBON EDIT}}
|
||||
// Registry
|
||||
@@ -22,3 +24,8 @@ Registry
|
||||
Registry
|
||||
.as<IWorkbenchContributionsRegistry>(WorkbenchExtensions.Workbench)
|
||||
.registerWorkbenchContribution(TelemetryOptOut, LifecyclePhase.Eventually);
|
||||
|
||||
// {{SQL CARBON EDIT}} - Add preview feature switch
|
||||
Registry
|
||||
.as<IWorkbenchContributionsRegistry>(WorkbenchExtensions.Workbench)
|
||||
.registerWorkbenchContribution(EnablePreviewFeatures, LifecyclePhase.Eventually);
|
||||
|
||||
Reference in New Issue
Block a user