How to remove a project (from the workspace) in PHPStorm?
Solution 1
**Two Approaches for PHPSTORM 2018.3 Version **
A. Eternal Removal or Deletion from Hardware and Phpstorm IDE
Please visit the folder 'PhpstormProjects' and delete the project file manually. If you do so, you will see the folder disappear from Phpstorm explore window. This might be weird, but true.
B. Remove from the recent project panel of Phpstorm 2018.3 (The folder after such removal will hide and a creation of the same name of project will restore the removed from the recent project panel.)
1. Click File > Close project
2. From Recent projects, select project, press the fn(on normal keyboard - key between right Alt and Ctrl, not windows key)+Delete
Solution 2
Backspace did the trick for me (Windows 7 + PHPStorm 7.1.3). You might want to try Fn+Backspace as well.
Solution 3
I know this post is a little old, but for MAC OS X phpStorm 6*, on the welcome to JetBrains PhpStorm page (under the recent projects use arrow keys up/down to select the project you want to remove, the hold the fn+delete.
Cheers
Solution 4
- Click File > Close project
- From Recent projects, select project, press the Fn + Delete on your keyboard
If you want delete a project entirely, delete the ".idea" folder within the project under Finder. This folder is hidden by default (i:e that's because it starts with a dot "." ). You will need to enable "View Hidden Files/Folders" in Finder
Solution 5
For 2017/2018/2019/2020 versions, go to:
File->Open Recent->Manage Projects...
and click the X (that appears when hovering over an option) to delete it from the Projects list. This just removes the reference; it doesn't delete files from the disk.
automatix
Updated on September 11, 2020Comments
-
automatix over 3 years
How can I delete (and not simply close) a project in PHPStorm?
-
MEM over 10 yearsold FN+delete... how convenient. :s, anyway, thanks for sharing it.
-
Red2678 about 10 yearsFTW! Thanks, not sure why this is not marked as correct.
-
callumacrae almost 10 yearsIt's the keyboard shortcut for deleting stuff in PhpStorm. It's the same for deleting files. Also, this is really old now…
-
Topher Fangio over 9 yearsOn Windows 7/WebStorm 9, when you close the project and see the recent list, you can also hover your mouse over the project and hit the Backspace key and it will prompt you to delete it.
-
Gordon over 9 yearsI didn't need to press Fn. Just Delete.
-
Nic Wortel over 9 yearsNote that you shouldn't click on the project (this opens it again), just hover your mouse over it and then press Delete or Backspace (just as Gordon, I didn't need to press Fn at the same time). I'm using PhpStorm 8 on Ubuntu 14.
-
rbaleksandar about 9 yearsThe fact that one has to google the information to do somethin as trivial as that says a lot about the editor itself, doesn't it?
-
prograhammer almost 9 years@rbaleksandar How much have you used phpStorm? It's really great, commit a few weeks to it and you'll see.
-
user100487 almost 9 years@rbaleksandar you are absolutely correct in what you are saying.
-
luqo33 almost 9 yearsHonestly, I do not think this is user-friendly.
-
toesslab over 8 yearsThis should be the accepted answer because the .idea folder identifies a folder as a PhPStorm project folder. in Windows and Nix systems
-
Bobby S over 5 yearsThanks, this is the one I was looking for.
-
alexkb over 5 yearsThis answer is especially applicable to the latest version of PHP Storm 2018.3 which now lets you attach a project to an existing project when you open a project. If you need to then detach the project, this answer is how you achieve this.
-
j-guyon over 4 yearsApproved on 2019.3.2 - Mac OS, Thanks !
-
Nico Haase almost 4 yearsHave you tried to use the answer provided by jabbascript? That works perfectly for me, and "doesn't work" doesn't look like a legit answer to me then
-
Roman86 almost 4 years@NicoHaase you mean removing the project from the recent list (Manage Projects)? Yes, I tried. It does nothing to attached project. Attached project is different - it's when you go "File -> Attach Project...". After that you will see another project in the Project tab. And it just can't be removed out of there
-
Roman86 almost 4 yearstheir documentation says same. I have no such menu item. And I can't find that action with actions lookup (Mac OS PhpStorm 2020.1)
-
Roman86 almost 4 yearsvery strange. I saw that menu item, but only until I attach new project. Once attached - there's no such item anymore (to remove). Really weird =\
-
MonTea over 3 yearsThanks, that helped me … you missed something - the folder is .idea not idea ;)