VS Code tab selects another button instead of adding a tab or 4 spaces to the code - visual-studio-code

The title explains it all, when I press tab while writing code, it selects the "Problems" tab instead of adding 4 spaces to my code...

Perhaps you've enabled accessibility mode with Toggle Tab Key Moves Focus command (ctrl+m by default).
Run this command again or click Tab Moves Focus on status bar:

Related

How can I reassign the tab function to the tab button?

I changed the functionality of my tab button, now the Tab key auto-completes instead of adding 5 spaces.
I want to re-assign the tab key to adding a tab(spaces) in my code instead of auto-completing.
I removed the Tab from the auto-completion function, but now my tab button does nothing, how do I add the default tab?

How do I toggle to the "actual" previous tab with one command?

I understand that I can go to the previous tab on the window by pressing Ctrl+page down and go to the next tab by pressing Ctrl+page up
But on VScode, there is a feature that lets you go back to the tab you were on previously, so if I had these tabs opened up.
Tab 1Tab 2Tab 3Tab 4Tab 5
If I'm on Tab 1 and click on Tab 4, How do I go back to tab 1? I searched this, and foudn that Alt+Left Kind of does this, but it sometimes gives unexpected behaviour like going to a different line on the same window instead of going to the previous tab.

How to fix tab key in VS Code to the code editor window only

When editing code and I hit TAB I expect the typical 4 spaces to be inserted and the cursor to move. In VS Code, if I hit TAB it takes me to the ... in the upper right of the application, tab again it goes to the Open Editors. Its like TAB is jumping around the editor instead of tabbing into my document.
How does one fix that. Or was a setting changed?
At the bottom of the application, I noticed a Tabs move Focus was lit. I clicked it and it turned off. Not sure how it turned on or what turns it on, but if I click it off, tabs go back to normal. Strange.

VS Code: How to hide the bottom panel, no matter which tab I'm on?

I've found shortcuts to show/hide Problems (Cmd+Shift+M) or Output (Cmd+Shift+U), but these require two button presses to hide the bottom pane if it's not currently on those respective tabs.
How can I hide and show the bottom panel with a single button press, regardless of which tab is currently active? Similar functionality as Cmd+B, which hides the left-hand bar no matter whether Explorer, Debug etc. is active.
By default in VSCode Ctrl/Cmd+J shows and hides the Panel, no matter which one you are focused on.
Not a direct answer to your question, but if you're only interested in hiding the bottom panel then you can just hit either of these shortcuts twice: (i.e.
Cmd+Shift+M+M) once to take you to that panel, the second to hide that panel.
ctrl + `
This shortcut is responsible for showing/hiding the bottom panel that contains terminal, debug, output, etc.

How to restore the menu bar in Visual Studio Code

I disabled the menu bar in preferences and it disappeared as expected. Now there's no way to get to the preferences menu again. How do I get it back?
For Windows users:
For older versions (<1.54) of Visual Studio Code: Press Alt to make the menu visible temporarily. While the menu is visible go to the View menu and choose Appearance -> Show Menu Bar.
For newer versions see the following steps or if Alt does not work use Crtl + Shift + P for command pallete, type 'menu' and select View: Toggle Menu Bar
Alternativily open settings Ctrl+,, search for and change Window: Menu Bar Visibility to either classic or visible.
For macOS users:
If you are in Full-Screen mode you can either move the cursor to the top of the screen to see the menu, or you can exit Full-Screen using Ctrl+Cmd+F, or ⌃⌘F in alien's script.
If you are like me - you did this by inadvertently hitting F11 - toggling fullscreen mode.
https://code.visualstudio.com/shortcuts/keyboard-shortcuts-windows.pdf
Another way to restore the menu bar is to trigger the View: Toggle Menu Bar command in the command palette (F1).
It's also possible that you have accidentally put the IDE into Full Screen Mode. On occasion, you may be inadertently pressing F11 to set FullScreen mode to On.
If this is the case, the Accepted Answer above will not work. Instead, you must disable Full Screen mode (View > Appearance > Full Screen).
Please see the attached screenshot.
To restore menu bar visibility so that you don't press key Alt to make the menu bar visible and the menu bar remains visible all the time, see the setting below.
You inadvertently changed the value from "default" to "toggle", so restore the setting to "default" as shown below.
"window.menuBarVisibility": "default"
In version 1.36.1 I tried to follow the steps mentioned in the previous answers and noticed that the Toggle Menu Bar has moved to a different location and has been renamed to Show Menu Bar. Follow these steps:
Press Alt to make menu visible
Click on the View menu, navigate to the Appearance option and choose Show Menu Bar
Click on the 'Manage' button.
Select 'Settings'.
In the search bar type: 'menu bar visibility'.
In the drop-down select 'classic' or 'visible'.
Press Ctrl + Shift + P to open the Command Palette, then
write command : Toggle Menu Bar
From Version: 1.56.2 on in OSX you need to update in settings.json file
"workbench.editor.showTabs": true
instead of
"window.menuBarVisibility": "default"
Press Ctrl + Shift + P to open the Command Palette.
After that, you write menu
Option is enabled
You have two options.
Option 1
Make the menu bar temporarily visible.
press Alt key and you will be able to see the menu bar
Option 2
Make the menu bar permanently visible.
Steps:
Press F1
Type user settings
Press Enter
Click on the { } (top right corner of the window) to open settings.json file see the screenshot
Then in the settings.json file, change the value to the default "window.menuBarVisibility": "default" you can see a sample here (or remove this line from JSON file. If you remove any value from the settings.json file then it will use the default settings for those entries. So if you want to make everything to default settings then remove all entries in the settings.json file).
Some changes to this coming in v1.54, see https://github.com/microsoft/vscode-docs/blob/vnext/release-notes/v1_54.md#updated-application-menu-settings
Updated Application Menu Settings
The window.menuBarVisibility setting for the application menu
visibility has been updated to better reflect the options. Two primary
changes have been made.
First, the default option for the setting has been renamed to
classic.
Second, the Show Menu Bar entry in the the application menu bar now
toggles between the classic and compact options. To hide it
completely, you can update the setting, or use the context menu of the
Activity Bar when in compact mode.
Press Ctrl+Shift+P, type menu, select View: Toggle Menu Bar and the menu bar should be back. If not add a comment
Here is a simple solution to bring back the activity bar.
Just click on the view tab on top of vs code > appearance > then check activity bar then from there it has to appear
All these answers were wrong for me. Press ALT.