How do I save my layout in Visual Studio Code? - visual-studio-code

Is there a way to save my Visual Studio Code window layout so I can quickly restore to it for different projects I am working on. Also is it possible to setup a keyboard shortcut to switch between my current view and the one I have saved.
I can't work it out.
Thanks,
Liam

Related

VScode Software - No leftsidebar menu visible

I'm new to VScode software.
I have installed it , but it seems that every example i see on the net has a leftsidebarmenu.
Example of vertical menu bar here.
But my vscode 2022 on windows does not have it.
My vscode 2022 without vertical leftbar menu.
Anyone how i can add it?
Thanks in advance.
Just Go to View in Menu Bar and then Select Appearance the Tick the option Show Activity Bar
Its not Visual Studio Code, you have downloaded Visual Studio, thats an IDE
You can download it here -> Visual Code

VS Code outline on opening workspace

On pretty much every project I work on in VS Code, I like to have the code outline present, but I can't seem to figure out how to get that part of the window activated on startup. At the moment, I have to manually activate the Outline panel. Is there a method, maybe in the settings.json, that will automatically enable the Outline panel on startup?

Is there a way to rearrange terminals in visual studio code

I have multiple terminals open like this
VS code Terminals
I want to drag and rearrange them as we can do for mac terminal tabs.
What you want is probably covered by https://github.com/microsoft/vscode/issues/121500 (Add drag and drop support to Terminal Tabs). And so not available yet.

Screen is broken when another window is displayed on top of vscode

While using Visual Studio Code, the screen is broken as shown in the following gif.
It is not visible in the gif file, but is being dragged with the another window open.
The same thing did not happen in other programs (e.g., visual studio community, source tree, etc.).
It also happened on other monitors connected to internal graphics cards.
When scrolling in vscode, the same symptoms occur in the parts that are not scrolling (such as the left menu section).
Updating the graphics card driver(geforce) fixed the problem
go to your vs code shortcut properties and add at the end of the path "--disable-gpu" example like these: "C:\Users\your-user\AppData\Local\Programs\Microsoft VS Code\Code.exe" --disable-gpu

Visual Studio Code: How to have both Debug window and Explorer window open together?

I'm new to Visual Code and I have a small question.
You have two buttons circled in red line. The first button opens the Explorer window and the second circled button opens the Debug window.
I want to have both of these windows open. Do you know how to do it?
This is not possible as of VSCode 1.13
A feature request for showing multiple panels was tracked here but the issue has been closed as as-designed. If you are passionate about the problem, please file a new issue to see if thinking on this has changed in the past year
V1.43 will have the ability to move various views, like Variables, Watch and Callstack from the sidebar to the panel (it works nicely in the Insiders' Build v.1.43). Demo:
See v1.43 release notes: https://github.com/microsoft/vscode-docs/blob/vnext/release-notes/v1_43.md#easier-moving-of-even-more-views with a demo gif of dragging views to and from the panel.
and this setting:
We've introduced a new command to make moving views easier
with the keyboard: View: Move Focused View
(workbench.action.moveFocusedView).
And finally, this is a preview feature. So, in case you get into a
state that you can't fix, there is a command to reset all views to
their original locations: View: Reset View Locations
(workbench.action.resetViewLocations).