How to delete a project in PhpStorm
已回答
This article: https://www.jetbrains.com/help/upsource/editing-and-deleting-projects.html was not helpful. The writer did not indicate what page the Settings icon is on. Thank you for your help in advance, if I am missing something.
请先登录再写评论。
Hi there,
So ... where do you want the project to be deleted? In/From PhpStorm ... or Upsource?
Oh gosh. My bad.
PhpStorm is where I want to delete the project from.
How do you want to delete it?
I mean -- do you want to (1) physically remove the project files from the disk .. or just (2) remove it from Welcome screen/Recent projects list?
For (2) -- you can do it from Welcome screen (shown when all projects are closed) -- just hit "Delete" key on currently selected project or click on "x" button that will appear on top right corner (for selected entry). https://www.jetbrains.com/help/phpstorm/2017.2/welcome-screen.html#recent
The same can be done via "File | Open Recent | Manage Projects..."
For (1) -- you have to do it yourself in your file manager/file browser app (or terminal/console). IDE does not delete actual project folder from the disk.
In general: https://www.jetbrains.com/help/phpstorm/2017.2/creating-and-managing-projects.html
Okay, I knew I could delete the files from my file manager manually, but I was wondering if there is a way to use phpStorm to delete them. I guess I will have to delete them manually. Thank you for your help.
On a side-note. I have been confused about why a recently created project (the one I'm considering deleting) has been showing up in the Project window with a set of square braces [] next to it and the name of another project inside the braces. Further, when I click on File > Open Recent > the dropdown includes a duplicate with the (incorrect) project name (that appears in the square brackets). There is not even an option for the correct project name, even though I had it open recently.
Need to see some examples. Right now I do not have proper idea on what's happening there / what you are talking about.
Maybe it's a project with multiple content roots .. or perhaps a project that has other project(s) attached to it... I do not have any like that myself so not sure.
1 [2] 3
1 = Folder (Content Root) name
2 = Project name (shown if it's different from the folder name, e.g. when you used Rename Project)
3 = Path to the Content Root
(Every project contains at least 1 Content Root)
https://www.jetbrains.com/help/phpstorm/configuring-project-structure.html
That was it! I needed to rename my project. Thank you so much. :)
you can delete a project:
File > Open
In the wizard right-click on the project > delete
strange why this is so complicated
Thank you Markus. Simple as that :)