Skip to content

Commit cb11308

Browse files
corbobRobert Holt
authored and
Robert Holt
committed
Removed ShowOnlineHelp Command (PowerShell#1587)
* Removed ShowOnlineHelp Message * Remove the command element from package.json
1 parent 327b6d0 commit cb11308

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@
112112
"category": "PowerShell"
113113
},
114114
{
115+
<<<<<<< HEAD
115116
"command": "PowerShell.RefreshCommandsExplorer",
116117
"title": "Refresh",
117118
"icon": {
@@ -131,6 +132,8 @@
131132
"category": "PowerShell"
132133
},
133134
{
135+
=======
136+
>>>>>>> Removed ShowOnlineHelp Command (#1587)
134137
"command": "PowerShell.ShowHelp",
135138
"title": "Get Help for Command",
136139
"category": "PowerShell"

src/features/ShowHelp.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,6 @@ export class ShowHelpFeature implements IFeature {
3636
this.languageClient.sendRequest(ShowHelpRequestType, item.Name);
3737
}
3838
});
39-
40-
this.deprecatedCommand = vscode.commands.registerCommand("PowerShell.OnlineHelp", () => {
41-
const warnText = "PowerShell.OnlineHelp is being deprecated. Use PowerShell.ShowHelp instead.";
42-
vscode.window.showWarningMessage(warnText);
43-
vscode.commands.executeCommand("PowerShell.ShowHelp");
44-
});
4539
}
4640

4741
public dispose() {

0 commit comments

Comments
 (0)