From e8ce6b4dfe92f10faf520ad19d7c1ad5d7b0addc Mon Sep 17 00:00:00 2001 From: corbob Date: Wed, 17 Oct 2018 05:41:46 -0700 Subject: [PATCH 1/2] Removed ShowOnlineHelp Message --- src/features/ShowHelp.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/features/ShowHelp.ts b/src/features/ShowHelp.ts index 0c877740bc..516a33b909 100644 --- a/src/features/ShowHelp.ts +++ b/src/features/ShowHelp.ts @@ -29,12 +29,6 @@ export class ShowHelpFeature implements IFeature { this.languageClient.sendRequest(ShowHelpRequestType, text); }); - - this.deprecatedCommand = vscode.commands.registerCommand("PowerShell.OnlineHelp", () => { - const warnText = "PowerShell.OnlineHelp is being deprecated. Use PowerShell.ShowHelp instead."; - vscode.window.showWarningMessage(warnText); - vscode.commands.executeCommand("PowerShell.ShowHelp"); - }); } public dispose() { From 1e08e17df3ecfdfb62772c18571187413d3042c8 Mon Sep 17 00:00:00 2001 From: corbob Date: Wed, 17 Oct 2018 20:36:18 -0700 Subject: [PATCH 2/2] Remove the command element from package.json --- package.json | 5 ----- 1 file changed, 5 deletions(-) diff --git a/package.json b/package.json index e4347a4040..b931fb47c8 100644 --- a/package.json +++ b/package.json @@ -86,11 +86,6 @@ "title": "Expand Alias", "category": "PowerShell" }, - { - "command": "PowerShell.OnlineHelp", - "title": "Get Online Help for Command (Deprecated)", - "category": "PowerShell" - }, { "command": "PowerShell.ShowHelp", "title": "Get Help for Command",