By default IntelliJ IDEA opens the last project when starting.
How to start IntelliJ without opening last project?
IntelliJ 2016.x keeps this information in its own file now. On my MacBook Pro w/OSX:
~/Library/Preferences/IntelliJIdea2016.2/options/recentProjects.xml
If IntelliJ hangs on startup, force quit the app then rename this file to something like "recentProjects.xml.bak."
Upon restart you'll get the option screen for creating or opening a project.
Note: the actual path may vary depending upon which version of IntelliJ you have installed eg.
IntelliJIdea2016.1/ IntelliJIdea2016.2/ IntelliJIdea2016.3/
The fastest way is to
ctrl+shift+a (windows)
cmd+shift+a (mac)
and then just type
reopen last project on startup
Intellij Idea or Android Studio:
From the menu go to :
File
> Settings >Appearence & Behavior
> System Settings
.
disable the option:
Reopen last project on startup
On the Mac the file is located at ~/Library/Preferences/IntelliJIdea12/options/ide.general.xml
And then set the reopenLastProject
option to false
.
On WINDOWS
, the path is:
C:\Users\[USERNAME]\.IntelliJIdea[VERSION]\config\options\ide.general.xml
Then set reopenLastProject
to false
, i.e.:
<application>
<component name="GeneralSettings">
<option name="reopenLastProject" value="false" />
</component>
</application>
PS: You may have to create the option if it doesn't exist.
I opened this file in VI using this path:
~/Library/preferences/IdeaIC13/options/ide.general.xml
and changed this value:
<option name="reopenLastProject" value="true" />
to
<option name="reopenLastProject" value="false" />