How to open projects as tabs in IntelliJ

Viewed 34087

Can anyone please let me know how to open multiple projects as tabs in IntelliJ.

In my previous laptop I am able to do. Please find the attached screenshot.

enter image description here

However, in my new laptop whenever I try open multiple projects, it always open in a new window rather than in tabs like above.

8 Answers

"In macOS Big Sur projects can be opened in separate tabs, both in full screen and normal state. This feature is available when Prefer tabs when opening documents option in macOS preferences is set to always" (JBR-2893).

This is shown in the first image: MacOS Preferences

In order to open the project in the same window, change the IntelliJ preferences seen in the second image: IntelliJ Window Preferences

I'm using macOS Monterey (version 12.2.1) and IntelliJ IDEA 2021.3.2 (Community Edition) (build #IC-213.6777.52, built on January 27, 2022). Following settings work for me:

  • macOS: the apple icon on top left corner -> System Preference... -> General -> Prefer tabs -> select always when opening documents
  • IntelliJ: click on IntelliJ IDEA on top left corner of the screen when it is the current window -> Preferences... -> Expand Appearance & Behavior tab to find System Settings tab, click on it (no need to expand) -> Select Open project in New Window -> Click OK to save current settings

Above solutions did not work for me, Try checking this:

Go to help -> findAction -> type Registry

look for key "ide.mac.transparentTitleBarAppearance", if it is false value, set this to true.

just toggle this key (false to true or true to false), and restart, it worked for me

Reference : intellij

Merge All Project Windows action on macOS

For macOS, Jetbrains introduced the Merge All Project Windows action that pools all opened project windows into one, turning each window into its own tab.

For macOS, we’ve introduced the ability to organize your working space by merging all opened project windows into one, turning each window into its own tab. To perform this action go to Window | Merge All Project Windows.

enter image description here enter image description here enter image description here

Compatibility: IntelliJ IDEA 2022.2, MacOS

This feature is now available on IntelliJ 2020.3.2 for MacOS Big Sur. Below are the full details of the IntelliJ and MacOS version on which this feature is working:

IntelliJ IDEA 2020.3.2 (Ultimate Edition)
Build #IU-203.7148.57, built on January 25, 2021

Runtime version: 11.0.9.1+11-b1145.77 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 10.16
GC: ParNew, ConcurrentMarkSweep
Memory: 1979M
Cores: 12

There are a few factors, I noticed:

  • works only if you open several projects by yourself (reopening of closed projects when IDEA starts don't collect projects to tabs)
  • app should be maximised before opening a next project. Even if you have already a few windows opened, opening a next project from maximised window group them (the number of windows won't be changed).

Mac OS Big Sur, IDEA 2021.2.4

This feature is now available on IntelliJ 2020.3.2 for MacOS Big Sur. Simply open a new Project in New Window. Mac will then treat windows as tabs.

It works for me with MacOS Monterrey version 12.3.1 and IntelliJ IDEA 2022.1.3 using above configuration for the OS and selecting the New window option on the IDEA preferences instead of Current window option.

Related