Skip to content

Stop hiding Activity Bar in ISE Mode #4780

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
Oct 10, 2023
Merged
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
7 changes: 0 additions & 7 deletions src/features/ISECompatibility.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// Licensed under the MIT License.

import * as vscode from "vscode";
import { getSettings } from "../settings";

interface ISetting {
path: string;
Expand All @@ -16,7 +15,6 @@ interface ISetting {
export class ISECompatibilityFeature implements vscode.Disposable {
// Marking settings as public so we can use it within the tests without needing to duplicate the list of settings.
public static settings: ISetting[] = [
{ path: "workbench.activityBar", name: "visible", value: false },
{ path: "debug", name: "openDebug", value: "neverOpen" },
{ path: "editor", name: "tabCompletion", value: "on" },
{ path: "powershell.integratedConsole", name: "focusConsoleOnExecute", value: false },
Expand Down Expand Up @@ -65,11 +63,6 @@ export class ISECompatibilityFeature implements vscode.Disposable {

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

if (!getSettings().sideBar.CommandExplorerVisibility) {
// Hide the explorer if the setting says so.
await vscode.commands.executeCommand("workbench.action.toggleSidebarVisibility");
}
}

private async DisableISEMode(): Promise<void> {
Expand Down