diff --git a/localization/xliff/enu/localizedPackage.json.enu.xlf b/localization/xliff/enu/localizedPackage.json.enu.xlf index 5c1da55b..819a5188 100644 --- a/localization/xliff/enu/localizedPackage.json.enu.xlf +++ b/localization/xliff/enu/localizedPackage.json.enu.xlf @@ -425,9 +425,6 @@ The timeout in seconds for expanding a node in Object Explorer. The default value is 45 seconds. - - Enable preview features in the extension. Requires a restart of VS Code to take effect. - New Table diff --git a/package.json b/package.json index 3560e5c5..1b1fddda 100644 --- a/package.json +++ b/package.json @@ -349,12 +349,12 @@ }, { "command": "mssql.newTable", - "when": "view == objectExplorer && viewItem == TablesFolder && config.mssql.enablePreviewFeatures", + "when": "view == objectExplorer && viewItem == TablesFolder && config.mssql.enableExperimentalFeatures", "group": "inline" }, { "command": "mssql.editTable", - "when": "view == objectExplorer && viewItem == Table && config.mssql.enablePreviewFeatures", + "when": "view == objectExplorer && viewItem == Table && config.mssql.enableExperimentalFeatures", "group": "inline" } ], @@ -673,11 +673,6 @@ "type": "object", "title": "%mssql.Configuration%", "properties": { - "mssql.enablePreviewFeatures": { - "type": "boolean", - "default": false, - "description": "%mssql.enablePreviewFeaturesDescription%" - }, "mssql.azureActiveDirectory": { "type": "string", "default": "AuthCodeGrant", diff --git a/package.nls.json b/package.nls.json index 71aa3a16..72e58944 100644 --- a/package.nls.json +++ b/package.nls.json @@ -140,7 +140,6 @@ "mssql.objectExplorer.enableGroupBySchema":"Enable Group By Schema", "mssql.objectExplorer.disableGroupBySchema":"Disable Group By Schema", "mssql.objectExplorer.expandTimeout":"The timeout in seconds for expanding a node in Object Explorer. The default value is 45 seconds.", -"mssql.enablePreviewFeaturesDescription":"Enable preview features in the extension. Requires a restart of VS Code to take effect.", "mssql.newTable":"New Table", "mssql.editTable":"Edit Table" } diff --git a/src/constants/constants.ts b/src/constants/constants.ts index 8d56381e..0091da79 100644 --- a/src/constants/constants.ts +++ b/src/constants/constants.ts @@ -155,7 +155,7 @@ export const configPersistQueryResultTabs = 'persistQueryResultTabs'; export const configQueryHistoryLimit = 'queryHistoryLimit'; export const configEnableQueryHistoryCapture = 'enableQueryHistoryCapture'; export const configEnableQueryHistoryFeature = 'enableQueryHistoryFeature'; -export const configEnablePreviewFeatures = 'enablePreviewFeatures'; +export const configEnableExperimentalFeatures = 'enableExperimentalFeatures'; // ToolsService Constants export const serviceInstallingTo = 'Installing SQL tools service to'; diff --git a/src/controllers/mainController.ts b/src/controllers/mainController.ts index 71c8c952..4cbc689c 100644 --- a/src/controllers/mainController.ts +++ b/src/controllers/mainController.ts @@ -125,7 +125,7 @@ export default class MainController implements vscode.Disposable { } public get isPreviewEnabled(): boolean { - return this.configuration.get(Constants.configEnablePreviewFeatures); + return this.configuration.get(Constants.configEnableExperimentalFeatures); } /**