IntelliJ IDEA在启动时默认打开最后一个项目。

如何启动IntelliJ不打开最后一个项目?


当前回答

第14、15、16号:

Settings -> Appearance & Behaviour -> System Settings -> Reopen last project on startup

以前:

Settings -> General -> Startup/shutdown -> Reopen last project on startup.

其他回答

要通过IntelliJ IDEA 2019.1 Community Edition中的配置文件来管理这个设置,请转到~/Library/Preferences/IdeaIC2019.1/options/,使用Patrick Wilkes的答案和ide.general.xml编辑器。

我在VI中使用下面的路径打开这个文件:

~ /图书馆/偏好/ IdeaIC13 /选项/ ide.general.xml

并更改了这个值:

<option name="reopenLastProject" value="true" />

to

<option name="reopenLastProject" value="false" />

最快的方法就是

ctrl + shift + a (windows) cmd + shift + a (mac)

然后输入

在启动时重新打开上一个项目

对于Mac 10.9 (Mavericks)上的Intellij 13,它也位于~/Library/Preferences/IntelliJIdea13/options/ide.general.xml。(我没有足够的声誉来为尼古拉斯的答案投票)。

在IntelliJ 14中是:

设置->外观与行为->系统设置->启动/关机-> . 0 在启动时重新打开上一个项目

按下CTL+ALT+S可以弹出设置窗口。