Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IntelliJ new tabs opening on the left side, why?

Say I have a Java class, and navigate to another method by CTRL + CLICK .. The new file opens, in a tab that is positioned to left of the current one. Why? It should open to the right.

Is this a bug? It goes against any other known ways of opening new tabs, like Chrome, Firefox, etc. Is it possible to alter this behaviour?

I would like it to open the tab either at the right side of the current tab, or at the end of the right side.

like image 992
mjs Avatar asked Oct 10 '12 08:10

mjs


People also ask

How do I tab back in Intellij?

Use ⌘[ (macOS), Ctrl+Alt+Left Arrow (Windows/Linux) to navigate backwards and ⌘] (macOS), Ctrl+Alt+Right Arrow (Windows/Linux), to navigate forwards.


2 Answers

UPDATE (November 2019)

If you want new editor tabs to be opened at the end, the latest IntelliJ IDEA versions have the dedicated option "Open new tabs at the end" for that in the settings:

Settings > Editor > General > Editor Tabs

enter image description here

Screenshot taken from IntelliJ IDEA 2019.2.4 (Ultimate Edition)

like image 172
informatik01 Avatar answered Oct 14 '22 06:10

informatik01


If you want to open a new tab at the end of the right side, now IntelliJ IDEA (mine is version 2017.2.4) offers you the option.

Right click at the tab bar and select "Open New Tabs At The End" option.

Open New Tabs At The End option

like image 27
onelaview Avatar answered Oct 14 '22 06:10

onelaview