描述
- Mac M1,IDEA 2017 有部分兼容性問題,遂對IDEA進行升級
- idea 升級2021(IntelliJ IDEA 2021.3 (Community Edition))
- 打開新工程,默認在當前窗口打開新tab。
- 在Preferences | Appearance & Behavior | System Settings | Open project in New window 中配置不生效
- 索引:idea 2021 open recent new window
解決辦法
-
MacOS 系統偏好設置 -> 通用 -> 首選以標簽頁方式打開文稿: 永不
-
IDEA 中:Preferences | Appearance & Behavior | System Settings | Open project in New window
-
問題解決
原因
- IntelliJ IDEA is using macOS setting right now. There is a request to have IDE specific setting.
- 默認使用MacOS的配置,IDEA自己的配置會被覆蓋
- 需要兩處配置均配置為新窗口打開
原文鏈接
Question
Intellij Idea, open new project creates a new tab for each project, how do I revert to a default of a new window per open project?
Description
If I open a new project in Intellij Idea it now opens it as a new tab. How to change the default behaviour, revert to the previous behaviour and open in a new window?
Discussion
macOS System Preferences->General set "Prefer tabs when opening documents" to "Never". –
CrazyCoder
Sep 24 at 15:29
I think that's a macOS setting, this seems to be IntelliJ that is doing it –
atreeon
Sep 25 at 17:17
IntelliJ IDEA is using macOS setting right now. There is a request to have IDE specific setting. –
CrazyCoder
Sep 26 at 0:42
Unless I've got something wrong, Intellij Idea is causing this behaviour, not MacOS (you can see the tabs are even in the same dark mode setting managed by IntelliJ). I'd like to turn this off in IntelliJ. –
atreeon
Sep 27 at 15:52
IntelliJ IDEA is causing this behavior by respecting the mentioned macOS system preference, see the related tickets: youtrack.jetbrains.com/issue/IDEA-260522 youtrack.jetbrains.com/issue/IDEA-65293 youtrack.jetbrains.com/issue/JBR-2893. –
CrazyCoder
Sep 27 at 15:55
Answer
n macOS System Preferences | General, set "Prefer tabs when opening documents" to "Never".
Related documents and tickets:
macOS User Guide:
Use tabs in windows on Mac : https://support.apple.com/guide/mac-help/use-tabs-in-windows-mchla4695cce/mac
Big Sur: Add support of opening project as tabs : https://youtrack.jetbrains.com/issue/JBR-2893
Open project in a new window opens in a tab instead : https://youtrack.jetbrains.com/issue/IDEA-260522
View multiple IntelliJ IDEA projects in a single frame : https://youtrack.jetbrains.com/issue/IDEA-65293