Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Intellij - only one tab in main window

i have problem with Intellij Idea (EAP Ultimate). Something happens with setting and i can open only one tab in main window, when I open the second tab the first one closes. I can find any trigger to this functions i settings. Please, help me.

like image 953
sieniu Avatar asked May 21 '21 13:05

sieniu


People also ask

How do I open multiple tabs in IntelliJ?

Split a single file into multiple tabsRight-click a tab and choose Split Right or Split Down. Choose Window | Editor Tabs | Split Right/Split Down from the main menu.

How do I set tab space in IntelliJ?

In IntelliJ IDEA, to convert existing tabs to spaces or vice versa, use File → Edit → Convert Indents → To Spaces (or To Tabs). The Reformat code shortcut Ctrl + Alt + L will also do this, while applying other changes.


1 Answers

This is a bug: https://youtrack.jetbrains.com/issue/IDEA-255328

The option "Advanced Settings -> Open declaration source in the same tab" is broken so that files are always opened in the same tab, not just when you navigate to a declaration.

The bug is marked as fixed, but I still see it in IntelliJ 2021.2.1, so I would assume that the fix will come in 2021.3.

As a workaround, disable "Advanced Settings -> Open declaration source in the same tab".

like image 52
Bogdan Calmac Avatar answered Oct 11 '22 18:10

Bogdan Calmac