How to restore Visual Studio Code terminal dropdown - it has become icons [duplicate] - visual-studio-code

Is it possible to get tabs instead of the select list when using multiple terminals from the "integrated terminal" window?

Terminal "tabs" appear to be coming to v1.56. See Terminal Tabs release notes. They are vertical tabs - always visible, if you want, in a resizable view to the left or right. Not like traditional tabs across the top like a browser though.
Tabs in the terminal [are] available as a preview feature and can be
enabled with the following setting:
"terminal.integrated.tabs.enabled": true
The tabs view is a split pane to the right of two split terminals. It
contains icons and labels for each terminal instance.
When enabled, the new tabs view will only show by default when there
is at least 2 terminals.
We've tried to mostly align how the new tabs behave with how the
explorer works, here are some of the other behaviors:
Double clicking the empty space will create a new terminal.
Double clicking the sash will toggle the tabs view width between the "ideal" size which displays all the titles without truncating and a
narrow view that shows only the icons.
The tabs can be moved to the left side using the terminal.integrated.tabs.location setting.
Various other configuration settings available under terminal.integrated.tabs.
Terminal Statuses
Along with tabs, we have introduced the concept of statuses to the
terminal. A terminal can have many statuses, each of which represents
a state the terminal can be in temporarily, with the highest severity
one being displayed next to the tab. Status icons appear to the right
of the terminal title in the tabs view. On hover, details of the
status and any associated actions are presented.
On a tab associated with a terminal that requires a relaunch, a
yellow triangle with an exclamation mark is to the right of the
terminal title.
For now, these states are supported:
Relaunch needed: A warning icon status is used if extensions want to change a terminal's environment.
Disconnected: A plug icon status is used when the terminal loses its connection with its process.
Bell: A bell icon appears when the bell is enabled via the terminal.integrated.enableBell setting and the terminal bell
triggers.
We plan to support task states soon so that task run status is
available at a glance even without activating the tab.
And more at the link. From the Insiders Build:

NO EXTENSION REQUIRED, as docs say:
Ctrl+Shift+5
If enough space, you can press it multiple times. However, as always, extensions might be more sophisticated for the job.

They are called "Terminal Tabs" and you can un-check them to turn them off. Go to your VS code setting User->Features->Terminal and look for the section called "Integrated > Tabs:Enabled" and un-check it.

Requested by the community in https://github.com/Microsoft/vscode/issues/10546
Added in release 1.57 (https://github.com/microsoft/vscode/releases)

There is an extension that does this by adding tabs to the status bar: https://marketplace.visualstudio.com/items?itemName=Tyriar.terminal-tabs

Related

How to switch between tabs only in the active editor group

In VS Code, whenever I'm in the split view (when I have multiple editor groups) and want to switch tabs with ctrl+tab, the tab switches fine until I reach the last tab on that active window (editor group). Then, instead of looping back to the first tab, it switches to the other split view window (editor group) instead.
I tried to see if there was any setting to disable this behavior but I couldn't find anything. Duplicating the other window instead of using split view works but isn't the best for my workflow.
Does anyone know of any setting to change the behavior so that it goes back to the first tab instead of switching to the other split window?
Note: I cannot reproduce this on Ubuntu.
For me, I can focus editor groups (what you are calling "splits") by number by using ctrl+<number>, or by directional navigation using ctrl+k,ctrl+<direction>, and open a quick cycle popup to cycle between editor tabs in the focused editor group by using ctrl+tab and ctrl+shift+tab. I can also focus editor tabs in an editor group by index in that editor group using alt+<index>.
For more similar info including default keybindings on other OSes, see Is there a quick change tabs function in Visual Studio Code?.
What you are probably interested in is the distinction between the following commands:
View: Open Next Editor (bound by defaut on Windows and Linux to ctrl+PgUp)
View: Open Next Editor in Group (bound by defaut on Windows and Linux to ctrl+k,ctrl+PgUp)
The first is for cycling through editor tabs in all editor groups (which is the behaviour you don't want), and the second is for cycling through editor tabs in the currently focused editor group (which is the behaviour you do want, and which has no default keybinding).
If you don't like the default keybindings, just edit them to your liking (edit keybindings for the workbench.action.nextEditorInGroup command).

VS Code Terminal panel [duplicate]

Is it possible to get tabs instead of the select list when using multiple terminals from the "integrated terminal" window?
Terminal "tabs" appear to be coming to v1.56. See Terminal Tabs release notes. They are vertical tabs - always visible, if you want, in a resizable view to the left or right. Not like traditional tabs across the top like a browser though.
Tabs in the terminal [are] available as a preview feature and can be
enabled with the following setting:
"terminal.integrated.tabs.enabled": true
The tabs view is a split pane to the right of two split terminals. It
contains icons and labels for each terminal instance.
When enabled, the new tabs view will only show by default when there
is at least 2 terminals.
We've tried to mostly align how the new tabs behave with how the
explorer works, here are some of the other behaviors:
Double clicking the empty space will create a new terminal.
Double clicking the sash will toggle the tabs view width between the "ideal" size which displays all the titles without truncating and a
narrow view that shows only the icons.
The tabs can be moved to the left side using the terminal.integrated.tabs.location setting.
Various other configuration settings available under terminal.integrated.tabs.
Terminal Statuses
Along with tabs, we have introduced the concept of statuses to the
terminal. A terminal can have many statuses, each of which represents
a state the terminal can be in temporarily, with the highest severity
one being displayed next to the tab. Status icons appear to the right
of the terminal title in the tabs view. On hover, details of the
status and any associated actions are presented.
On a tab associated with a terminal that requires a relaunch, a
yellow triangle with an exclamation mark is to the right of the
terminal title.
For now, these states are supported:
Relaunch needed: A warning icon status is used if extensions want to change a terminal's environment.
Disconnected: A plug icon status is used when the terminal loses its connection with its process.
Bell: A bell icon appears when the bell is enabled via the terminal.integrated.enableBell setting and the terminal bell
triggers.
We plan to support task states soon so that task run status is
available at a glance even without activating the tab.
And more at the link. From the Insiders Build:
NO EXTENSION REQUIRED, as docs say:
Ctrl+Shift+5
If enough space, you can press it multiple times. However, as always, extensions might be more sophisticated for the job.
They are called "Terminal Tabs" and you can un-check them to turn them off. Go to your VS code setting User->Features->Terminal and look for the section called "Integrated > Tabs:Enabled" and un-check it.
Requested by the community in https://github.com/Microsoft/vscode/issues/10546
Added in release 1.57 (https://github.com/microsoft/vscode/releases)
There is an extension that does this by adding tabs to the status bar: https://marketplace.visualstudio.com/items?itemName=Tyriar.terminal-tabs

How to move Output or Terminal back into the panel in the window layout?

Recently in VS Code, somewhere around v1.42 or v1.43, we gained the ability to move around the following windows/panels that used to be stuck in the panel:
Terminal
Output
Debug Console
Problems
They could be split into multiple items in the panel itself (side-by-side or top/bottom, depending on whether the panel was at the bottom or left/right), and even dragged into the side-bar.
This was great, but after moving all of these windows to the side-bar while experimenting, I can't find any way to move them back into the panel. The panel is now empty, except for 3 dots (an ellipsis) in the upper left corner. You can still hide/show the panel, and move it left, bottom, or right, but there is nothing in it, and you can't drag anything to it. Dragging the terminal into the panel shows an icon that looks like it will successfully move (it's not the icon with the circle/cross-out you get other places it won't drop), but when releasing the click-drag, nothing happens.
I had just upgraded to v1.45.0 when this happened. It appears to be a defect, unless I'm missing something. Does anyone have a way to put the terminal or one of these other windows back in the panel, or reset their position? I combed the settings, and tried to find default setting's files (system or user) that might hold info on what is in the panel vs. the sidebar, etc., but couldn't find anything via search or on my PC. Any ideas?
Note: This is NOT about moving the panel between the left/right/bottom positions, or selecting the terminal/output/etc. in the panel itself. That's "old news", this is a recent feature.
Here is a view with the Terminal, Output, Debug Console, and Problems put at the top of the sidebar toolbar, and Terminal focused. The Panel is just to the right of the sidebar window, set to the "left" position, completely blank and useless. The "welcome" window on the far right side:
And here are my current settings:
See this issue https://github.com/microsoft/vscode/issues/96117 (Empty panel behaves weird)
Suggested fix:
Run the command View: Reset View Locations in the command palette.
Please see: https://www.technipages.com/visual-studio-reset-window-layout
Menu Window / Reset Window Layout worked for me in VS 2019

Visual Studio Code Activity bar completely missing, Version 1.28

Just downloaded VSCode, ver 1.28 and the activity bar (left side) and the left side of the side bar are not there. This happened yesterday too, so uninstalled the program and tried again today.
I have no way to get to settings, debug, search, etc. Tried right clicking on black space and they don't show up, merely options to open a new file. If I do open (untitled) I still do not get that left part of the screen. I am comparing it to MS's user interface page (https://code.visualstudio.com/docs/getstarted/userinterface). Is it possible that I would have to change the resolution on my laptop?
Thanks.
From the menu bar at the top try
View/Apperance/Show Activity Bar
When the Activity Bar is visible, this option will show "Hide Activity Bar"
See screenshot
1.Simple go to the setting
2.Under the user settings search for Activity Bar.
3.You'd find it under the workbench.
4. Click the Activity bar visible and that's green and working.
Another way to loose Activity Bar is to accidently active Zen Mode. Check if
View/Apperance/Zen Mode
is checked and if so uncheck it.
You can also pull up the command pallet with
Ctrl + Shift + P
Then type/select
View: Toggle Activity Bar Visibility

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).