Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you prevent PHPStorm from opening a project on start?

Tags:

php

ide

phpstorm

It takes a while to open some larger projects and I am just wondering if I get to the "Welcome to PHPStorm" screen by default instead of the last opened project.

like image 505
CGSmith105 Avatar asked Mar 05 '14 16:03

CGSmith105


3 Answers

  1. Settings/Preferences
  2. Appearance & Behavior | System Settings
  3. Reopen last project on startup

enter image description here

P.S.
Settings screen has very handy search box (top left corner) which will narrow possible options a lot.


UPDATE 2020-12-02: Current 2020.2 version has a bit different name to clarify that it will reopen ALL previously opened projects and not just only last one.

enter image description here

like image 140
LazyOne Avatar answered Sep 18 '22 02:09

LazyOne


On UBUNTU OS In PHP-Storm 8.0.3, It was as

  1. File
  2. Settings
  3. Appearance & Behavior
  4. System Settings
  5. Reopen last project on startup ( uncheck this checkbox )
like image 41
zarpio Avatar answered Sep 19 '22 02:09

zarpio


If you try to check uncheck Reopen last project from the Settings | General Preferences on startup but are not able to reach the General Settings box (perhaps because PHPStorm is hanging when it tries to reopen the last project) you can do the following (instructions for Mac but similar for other OS):

vim ~/Library/Preferences/WebIde90/options/ide.general.xml

Add/edit the following to the <application> tag:

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

This should allow you to restart without any problem. In my case, I was not able to even finish starting PHPStorm until I made the change. After I modified the file I restarted and went to File --> Invalidate Caches Restart as well.

For other OS you can view this page to help file the location of the file.

like image 21
SnapShot Avatar answered Sep 20 '22 02:09

SnapShot