我有一個非常方便的別名ii='open . -a "IntelliJ IDEA"',可以幫助從 cliii從檔案夾中快速打開專案。IDE 配置為在選項卡中打開新專案,當我從“檔案→打開最近”選單中執行此操作時效果很好。但是當我使用別名打開時,它們總是在單獨的視窗中啟動。
您知道如何將專案從 cli 打開到現有視窗嗎?
謝謝
uj5u.com熱心網友回復:
確保您
Settings | General | Prefer tabs | Always在 MacOS 設定中進行設定。如果您有 MacOS 11,請使用以下 IDE 設定:
Preferences | Appearance & Behavior | System Settings | Open project in | Current window如果您有 MacOS 12,請使用以下 IDE 設定:
Preferences | Appearance & Behavior | System Settings | Open project in | New window
轉載請註明出處,本文鏈接:https://www.uj5u.com/yidong/447288.html
