Skip to content

Commit d246b9f

Browse files
corbobrjmholt
authored andcommitted
Removed ShowOnlineHelp Command (#1587)
* Removed ShowOnlineHelp Message * Remove the command element from package.json
1 parent e7c410b commit d246b9f

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

package.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,6 @@
8686
"title": "Expand Alias",
8787
"category": "PowerShell"
8888
},
89-
{
90-
"command": "PowerShell.OnlineHelp",
91-
"title": "Get Online Help for Command (Deprecated)",
92-
"category": "PowerShell"
93-
},
9489
{
9590
"command": "PowerShell.ShowHelp",
9691
"title": "Get Help for Command",

src/features/ShowHelp.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,6 @@ export class ShowHelpFeature implements IFeature {
2929

3030
this.languageClient.sendRequest(ShowHelpRequestType, text);
3131
});
32-
33-
this.deprecatedCommand = vscode.commands.registerCommand("PowerShell.OnlineHelp", () => {
34-
const warnText = "PowerShell.OnlineHelp is being deprecated. Use PowerShell.ShowHelp instead.";
35-
vscode.window.showWarningMessage(warnText);
36-
vscode.commands.executeCommand("PowerShell.ShowHelp");
37-
});
3832
}
3933

4034
public dispose() {

0 commit comments

Comments
 (0)