idea 2021新窗口打开工程

描述

  • 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
posted @ 2021-12-21 16:37  澄轶  阅读(2216)  评论(0编辑  收藏  举报