Skip to content

Commit a057251

Browse files
committed
Don't make the Command Explorer visible by default
But turn it on in ISE mode.
1 parent 5c177fb commit a057251

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@
611611
"properties": {
612612
"powershell.sideBar.CommandExplorerVisibility": {
613613
"type": "boolean",
614-
"default": true,
614+
"default": false,
615615
"markdownDescription": "Specifies the visibility of the Command Explorer in the side bar."
616616
},
617617
"powershell.sideBar.CommandExplorerExcludeFilter": {

src/features/ISECompatibility.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ export class ISECompatibilityFeature implements vscode.Disposable {
2222
{ path: "workbench", name: "colorTheme", value: "PowerShell ISE" },
2323
{ path: "editor", name: "wordSeparators", value: "`~!@#%^&*()-=+[{]}\\|;:'\",.<>/?" },
2424
{ path: "powershell.buttons", name: "showPanelMovementButtons", value: true },
25-
{ path: "powershell.codeFolding", name: "showLastLine", value: false }
25+
{ path: "powershell.codeFolding", name: "showLastLine", value: false },
26+
{ path: "powershell.sideBar", name: "CommandExplorerVisibility", value: true }
2627
];
2728

2829
private commands: vscode.Disposable[] = [];

src/settings.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ class IntegratedConsoleSettings extends PartialSettings {
140140
}
141141

142142
class SideBarSettings extends PartialSettings {
143-
CommandExplorerVisibility = true;
143+
CommandExplorerVisibility = false;
144144
CommandExplorerExcludeFilter: string[] = [];
145145
}
146146

0 commit comments

Comments
 (0)