How to prevent open last projects when intellij idea start

匿名 (未验证) 提交于 2019-12-03 01:29:01

问题:

By default intellij idea open last project when starting. How to open intellij idea without openning last projects?

回答1:

IntelliJ 14, 15, 16:

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

Previously:

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


回答2:

If for any reason you need to change this setting without using the UI (for example if IDEA is hanging when it opens your project), you can find the setting in eg

/.IntelliJIdea10/config/options/ide.general.xml 

The location of the file is documented in http://devnet.jetbrains.net/docs/DOC-181



回答3:

For Intellij 13 on Mac 10.9 (Mavericks), it is located at ~/Library/Preferences/IntelliJIdea13/options/ide.general.xml as well. ( I don't have enough reputation to vote up Nicholas' answer ).



回答4:

On the Mac the file is located at ~/Library/Preferences/IntelliJIdea12/options/ide.general.xml

And then set the reopenLastProject option to false.



回答5:

I opened this file in VI using this path:

~/Library/preferences/IdeaIC13/options/ide.general.xml

and changed this value:

to



回答6:

Just tick the checkbox:

Settings -> General -> Reopen last project on startup 

This is for idea 10.



回答7:

In IntelliJ 14 it is:

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

You can bring the settings window by pressing CTL+ALT+S.



回答8:

Fastest way is to

ctrl+shift+a

and then just type

reopen



回答9:

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/



回答10:

Intellij Idea or Android Studio:

From the menu go to :

File > Settings >Appearence & Behavior > System Settings.

disable the option:

Reopen last project on startup



回答11:

Thank you Java Devil working in Intellij 14 using Settings -> Appearance & Behavior -> System Settings :D



回答12:

For The latest version of Android Studio IDE

Just follow this steps

File > Settings > System Settings > click Reopen the last project Check-box > Apply or Okay



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!