Skip to content

Fix title of PowerShell Command Explorer pane #3866

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,17 +92,17 @@
"viewsContainers": {
"activitybar": [
{
"id": "PowerShellCommandExplorer",
"title": "(Preview) PowerShell Command Explorer",
"id": "PowerShell",
"title": "PowerShell",
"icon": "$(terminal-powershell)"
}
]
},
"views": {
"PowerShellCommandExplorer": [
"PowerShell": [
{
"id": "PowerShellCommands",
"name": "PowerShell Commands",
"name": "Command Explorer",
"when": "config.powershell.sideBar.CommandExplorerVisibility"
}
]
Expand Down
4 changes: 2 additions & 2 deletions src/features/ISECompatibility.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ export class ISECompatibilityFeature implements vscode.Disposable {
}
}

// Show the PowerShell Command Explorer
await vscode.commands.executeCommand("workbench.view.extension.PowerShellCommandExplorer");
// Show the PowerShell view container which has the Command Explorer view
await vscode.commands.executeCommand("workbench.view.extension.PowerShell");

if (!Settings.load().sideBar.CommandExplorerVisibility) {
// Hide the explorer if the setting says so.
Expand Down