diff --git a/package.json b/package.json index b403f49871..0f389224c7 100644 --- a/package.json +++ b/package.json @@ -594,7 +594,8 @@ "type": "string", "default": "", "scope": "machine", - "description": "REMOVED. Please use the \"powershell.powerShellDefaultVersion\" setting instead." + "description": "REMOVED. Please use the \"powershell.powerShellDefaultVersion\" setting instead.", + "deprecationMessage": "Please use the \"powershell.powerShellDefaultVersion\" setting instead." }, "powershell.promptToUpdatePowerShell": { "type": "boolean", @@ -604,7 +605,8 @@ "powershell.promptToUpdatePackageManagement": { "type": "boolean", "description": "Specifies whether you should be prompted to update your version of PackageManagement if it's under 1.4.6.", - "default": true + "default": true, + "deprecationMessage": "This prompt has been removed as it's no longer strictly necessary to upgrade the PackageManagement module." }, "powershell.startAsLoginShell.osx": { "type": "boolean", @@ -746,7 +748,8 @@ "powershell.codeFormatting.whitespaceAroundPipe": { "type": "boolean", "default": true, - "description": "REMOVED. Please use the \"powershell.codeFormatting.addWhitespaceAroundPipe\" setting instead. If you've used this setting before, we have moved it for you automatically." + "description": "REMOVED. Please use the \"powershell.codeFormatting.addWhitespaceAroundPipe\" setting instead. If you've used this setting before, we have moved it for you automatically.", + "deprecationMessage": "Please use the \"powershell.codeFormatting.addWhitespaceAroundPipe\" setting instead. If you've used this setting before, we have moved it for you automatically." }, "powershell.codeFormatting.addWhitespaceAroundPipe": { "type": "boolean", diff --git a/src/settings.ts b/src/settings.ts index 32f5aa0d6e..c15cb0e9cd 100644 --- a/src/settings.ts +++ b/src/settings.ts @@ -84,7 +84,6 @@ export interface ISettings { // This setting is no longer used but is here to assist in cleaning up the users settings. powerShellExePath?: string; promptToUpdatePowerShell?: boolean; - promptToUpdatePackageManagement?: boolean; bundledModulesPath?: string; startAsLoginShell?: IStartAsLoginShellSettings; startAutomatically?: boolean; @@ -233,8 +232,6 @@ export function load(): ISettings { configuration.get("powerShellExePath", undefined), promptToUpdatePowerShell: configuration.get("promptToUpdatePowerShell", true), - promptToUpdatePackageManagement: - configuration.get("promptToUpdatePackageManagement", true), bundledModulesPath: "../modules", // Because the extension is always at `/out/main.js` useX86Host: