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

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.

Related

VS Code: What is the step called when you double click a tab to un-italicize the label and what is the keyboard shortcut?

You click a file in the file tree. It is opened, but the title of the tab is italicized. You double click the tab to un-italicize the tab because if you didn't and you click a different file in the tree, the italicized tab will be replaced. What is the keyboard shortcut to change the current (presumably italicized) tab to non-italicized as if you had double clicked on it?
Ah - I came here seeking the significance of the italicisation (so now I know) - but had already noticed that it reverted if I saved (so Ctrl+S is another way to get there)
The according command is called View: Keep Editor and its default keyboard shortcut is Ctrl+K Enter.
You can also access this function via right click on the editor tab, there it is called "Keep open".

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 tab selects another button instead of adding a tab or 4 spaces to the 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:

switch back and forth between two tabs in VSCode

Are there shortcuts to go back and forth between current and last selected tab with vscode ?
Like I used to be able to do with webstorm.
Yes there is Ctrl + Tab. This will switch between current and recent tab.
You can also switch to any of open tabs by holding down the Ctrl key and hitting Tab repeatedly until your desired tab is highlighted from the tab selection dialog like that would appear upon first press of Ctrl + Tab keys,
Ctrl + Shift + Tab would do the same but it will start navigating to the tabs from opposite direction.
There is an extension for this Window Switch by Victor Zhang (yeannylam).
https://marketplace.visualstudio.com/items?itemName=yeannylam.window-switch
Change extension shortcut for windowSwitch.switchToLastOpenedFile.

Eclipse Forward / Back "Tab" History key?

In regards to Eclipse (using Luna)
Is there a mappable hot key for forward and back "Tab History".
There is one for tabs in general (forward and back in order as they appear in the list - but prompts a list to select from).
There is also a forward and back "history" (e.g. LINE history).
Basically the "history" hotkeys almost do what I want, but they take into account every line clicked: e.g. I open tab 1, then tab 2, click 3 lines in tab 2, then use the back history, it takes me through those three lines before it takes me to tab 1.
I want it to go straight to tab 1 (previous tab in history).
I can accept the answer "No".
I just wanted to make sure as eclipse has a lot of options that you can easily overlook settings (e.g. Perhaps its a different setting completely - like: change how "history" works setting.
EDIT:
The current "back history" and "forward history" are by default ALT+← and ALT+→
I want to know if there is an equivilent that navigates though only the tab history (excluding the specific line history of the current tab).