pop*_*lka 250 intellij-idea android-studio
默认情况下,intellij idea在启动时打开最后一个项目.如何在不打开最后项目的情况下打开intellij想法?
Tom*_*icz 330
IntelliJ 14,15,16:
Settings -> Appearance & Behaviour -> System Settings -> Reopen last project on startup
Run Code Online (Sandbox Code Playgroud)
先前:
Settings -> General -> Startup/shutdown -> Reopen last project on startup.
Run Code Online (Sandbox Code Playgroud)
Pat*_*kes 133
如果出于任何原因需要在不使用UI的情况下更改此设置(例如,如果IDEA在打开项目时挂起),您可以在中找到设置,例如
/.IntelliJIdea10/config/options/ide.general.xml
Run Code Online (Sandbox Code Playgroud)
该文件的位置记录在http://devnet.jetbrains.net/docs/DOC-181中
您需要更改(或添加)的具体设置是
<application>
<component name="GeneralSettings">
<option name="reopenLastProject" value="false" />
</component>
</application>
Run Code Online (Sandbox Code Playgroud)
在最新版本的IntelliJ中,此文件在Mac上的位置是
~/Library/Preferences/IntelliJIdea2018.2/options/ide.general.xml
Run Code Online (Sandbox Code Playgroud)
tak*_*a15 21
如果您只是尝试启动 IntelliJ 一次而不打开任何以前的项目(例如,由于 IntelliJ 在特定项目中崩溃),您可以使用dontReopenProjects
命令行中的选项。
例子:
C:\dev\ide\IntelliJ IDEA Community Edition 2020.2\bin\idea64.exe dontReopenProjects
Run Code Online (Sandbox Code Playgroud)
注意:您还可以使用许多其他有用的命令行选项,例如noSplash
和disableNonBundledPlugins
。
源 CLI 文档(感谢 mikebridge 在对此答案的评论中指出):https ://www.jetbrains.com/help/idea/working-with-the-ide-features-from-command-line.html #参数
aso*_*kan 14
对于Mac 10.9(Mavericks)上的Intellij 13,它也位于〜/ Library/Preferences/IntelliJIdea13/options/ide.general.xml中.(我没有足够的声誉来推荐尼古拉斯的回答).
Nic*_*ell 12
在Mac上,文件位于 ~/Library/Preferences/IntelliJIdea12/options/ide.general.xml
然后将reopenLastProject
选项设置为false
.
Ann*_*rom 10
我使用这个路径在VI中打开了这个文件:
〜/库/首选项/ IdeaIC13 /选项/ ide.general.xml
并更改了此值:
<option name="reopenLastProject" value="true" />
Run Code Online (Sandbox Code Playgroud)
至
<option name="reopenLastProject" value="false" />
Run Code Online (Sandbox Code Playgroud)
小智 9
IntelliJ 2016.x现在将此信息保存在自己的文件中.在我的MacBook Pro w/OSX上:
~/Library/Preferences/IntelliJIdea2016.2/options/recentProjects.xml
Run Code Online (Sandbox Code Playgroud)
如果IntelliJ在启动时挂起,则强制退出应用程序,然后将此文件重命名为"recentProjects.xml.bak".
重启后,您将获得用于创建或打开项目的选项屏幕.
注意:实际路径可能会有所不同,具体取决于您安装的IntelliJ版本,例如.
IntelliJIdea2016.1/ IntelliJIdea2016.2/ IntelliJIdea2016.3/
只需勾选复选框:
Settings -> General -> Reopen last project on startup
Run Code Online (Sandbox Code Playgroud)
这是为了想法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
归档时间: |
|
查看次数: |
45228 次 |
最近记录: |