IntelliJ IDEA在启动时默认打开最后一个项目。
如何启动IntelliJ不打开最后一个项目?
IntelliJ IDEA在启动时默认打开最后一个项目。
如何启动IntelliJ不打开最后一个项目?
当前回答
我在VI中使用下面的路径打开这个文件:
~ /图书馆/偏好/ IdeaIC13 /选项/ ide.general.xml
并更改了这个值:
<option name="reopenLastProject" value="true" />
to
<option name="reopenLastProject" value="false" />
其他回答
第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编辑器。
只要勾选复选框:
Settings -> General -> Reopen last project on startup
这是想法10。
如果出于任何原因,你需要在不使用UI的情况下更改此设置(例如,如果IDEA在打开项目时挂起),你可以在eg中找到设置
/.IntelliJIdea10/config/options/ide.general.xml
该文件的位置记录在http://devnet.jetbrains.net/docs/DOC-181中
您需要更改(或添加)的特定设置是
<application>
<component name="GeneralSettings">
<option name="reopenLastProject" value="false" />
</component>
</application>
Mac
在IntelliJ的最新版本中,此文件在Mac上的位置为
~/Library/Preferences/IntelliJIdea2018.2/options/ide.general.xml
设置存储库
如果你启用了设置存储库,那么可以在这里找到它:
~ / .IntelliJIdea $ {idea_version} / config / settingsRepository /仓库/ ide.general.xml
在Mac上,该文件位于~/Library/Preferences/IntelliJIdea12/options/ide.general.xml
然后将reopenLastProject选项设置为false。