IntellijIDEA:如何在选项卡中打开项目而不是从 OSX cli 中打开新窗口?
我有一个非常方便的别名 ii='open 。 -a "IntelliJ IDEA"'
有助于从文件夹中执行 ii
从 cli 快速打开项目。 IDE 配置为在选项卡中打开新项目,当我从“文件→打开最近的”菜单中执行此操作时,它运行良好。但是当我使用别名打开时,它们总是在单独的窗口中启动。
您知道如何从 cli 打开项目到现有窗口吗?
谢谢
I have a very convenient alias ii='open . -a "IntelliJ IDEA"'
that helps to quickly open projects from cli doing ii
from a folder. The IDE is configured to open new projects in tabs and it works well when I do it from the "File → Open Recent" menu. But when I open using the alias, they always start in separate windows.
Do you know how to open projects from cli into an existing window instead?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
设置|一般|更喜欢标签 |始终在您的 MacOS 设置中
。MacOS 13-14:
设置 |台式机和文档 |窗口&应用程序 |打开文档时首选选项卡 |始终
如果您使用的是 MacOS 11,请使用此 IDE 设置:
首选项 |外观&行为 |系统设置|打开项目 |当前窗口
如果您有 MacOS 12,请使用此 IDE 设置:
首选项 |外观&行为 |系统设置|打开项目 |新窗口
Settings | General | Prefer tabs | Always
in your MacOS settings.MacOS 13-14:
Settings | Desktop & Doc | Windows & Apps | Prefer tabs when opening documents | Always
If you have MacOS 11, use this IDE setting:
Preferences | Appearance & Behavior | System Settings | Open project in | Current window
If you have MacOS 12, use this IDE setting:
Preferences | Appearance & Behavior | System Settings | Open project in | New window
如果您有 MacOS 13:
If you have MacOS 13: