user4084304
user4084304

Reputation:

New to VSCode, can't disable sidebar

I am new to VSCode, long been a holdout with Powershell ISE. I am in a situation where I am doing more with PS7, so have no choice but to use it. The one thing that I cannot seem to find is a way to permanently disable the sidebar. Every time I run a script the stupid thing pops up, and I have to hit CTRL+B to close it. I have tried going into Powershell language specific settings, but the only option I see is sidebar.location.

Is there any way to permanently stop this from popping up?

Upvotes: 1

Views: 666

Answers (2)

TRAGEN
TRAGEN

Reputation: 21

Here is the solution:

  1. go to settings
  2. search for Debug: Open Debug
  3. choose never open

Upvotes: 2

postanote
postanote

Reputation: 16116

Allow me just say this. I too use VSCode, Sapien's PS Studio, and the ISE more than the previous two, but also use PowerShell v7.

So, FYI... You do have a choice, You can use PowerShell v7 from the ISE. I do this every day. Well, it's a workaround to do so, but it works just fine.

Here is one of the ways to use PowerShell v7 in the ISE.

Using PowerShell Core 6 and 7 in the Windows PowerShell ISE

The other way I use it is just shelling/branching out to it as needed.

Yet, your question is really a duplicate of this Q&A.

Is there a shortcut to hide the sidebar in Visual Studio Code?

And these potential answers...

you can hide the activity bar by setting up your own keybinding (code.visualstudio.com/docs/customization/keybindings) for workbench.action.toggleActivityBarVisibility

and or

In the VS code version 1.43, you can hide or show the side menu or activity bar by going under the 'VIEW' tab in the nav bar in the top margin of VS CODE(called the 'Menu Bar'). Go to View => Appearance, there you can check or uncheck different nav bars to show/hide each one.

If you have the top bar (Menu Bar) currently hidden press 'alt' key to bring it back then follow above instructions to check it to keep it there permanently if desired.

The thing to remember though is, that sidebar is your file/project explorer and as such critical for normal development. It's how you get to all your files. Sure, you can still get to them using F1 and type a name, but that's kind of painful, vs scrolling to find what you need or opening multiple files in a project at once.

Upvotes: 1

Related Questions