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

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


当前回答

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

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

并更改了这个值:

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

to

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

其他回答

Intellij Idea或Android Studio:

从菜单转到:

文件>设置>外观与行为>系统设置。

禁用该选项:

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

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

在Mac上,该文件位于~/Library/Preferences/IntelliJIdea12/options/ide.general.xml

然后将reopenLastProject选项设置为false。

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

只要勾选复选框:

Settings -> General -> Reopen last project on startup

这是想法10。