Skip to content

Commit d0efa7f

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

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
@@ -113,6 +113,7 @@
113113
"category": "PowerShell"
114114
},
115115
{
116+
<<<<<<< HEAD
116117
"command": "PowerShell.RefreshCommandsExplorer",
117118
"title": "Refresh Command Explorer",
118119
"icon": {
@@ -136,6 +137,8 @@
136137
"category": "PowerShell"
137138
},
138139
{
140+
=======
141+
>>>>>>> Removed ShowOnlineHelp Command (#1587)
139142
"command": "PowerShell.ShowHelp",
140143
"title": "Get Help for Command",
141144
"icon": {

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)