IntellijIDEA:如何在选项卡中打开项目而不是从 OSX cli 中打开新窗口?

发布于 2025-01-14 21:52:36 字数 234 浏览 2 评论 0原文

我有一个非常方便的别名 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

御弟哥哥 2025-01-21 21:52:36
  1. MacOS 11-12:设置设置|一般|更喜欢标签 |始终在您的 MacOS 设置中

MacOS 13-14:设置 |台式机和文档 |窗口&应用程序 |打开文档时首选选项卡 |始终

  1. 如果您使用的是 MacOS 11,请使用此 IDE 设置:首选项 |外观&行为 |系统设置|打开项目 |当前窗口

  2. 如果您有 MacOS 12,请使用此 IDE 设置:首选项 |外观&行为 |系统设置|打开项目 |新窗口

  1. MacOS 11-12: set Settings | General | Prefer tabs | Always in your MacOS settings.

MacOS 13-14: Settings | Desktop & Doc | Windows & Apps | Prefer tabs when opening documents | Always

  1. If you have MacOS 11, use this IDE setting: Preferences | Appearance & Behavior | System Settings | Open project in | Current window

  2. If you have MacOS 12, use this IDE setting: Preferences | Appearance & Behavior | System Settings | Open project in | New window

依 靠 2025-01-21 21:52:36

如果您有 MacOS 13:

  1. 使用此系统设置:桌面和桌面码头| Windows &&应用程序 |打开文档时首选选项卡 |始终
  2. 使用此 IDE 设置:首选项 |外观&行为 |系统设置|打开项目 |新窗口

If you have MacOS 13:

  1. use this System Setting: Desktop & Dock | Windows && Apps | Prefer tabs when opening documents | Always
  2. use this IDE setting: Preferences | Appearance & Behavior | System Settings | Open project in | New window
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文