Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Project Name appearing wrong in PhpStorm

I took a coding course online and wanted to re-do my project to my own needs so I decided to copy the project files and amend / start anew what I needed. However in my IDE (PhpStorm) I still see the old name in brackets:

how name appears in IDE

Can anyone please let me know from where I can amend it?

like image 715
sens_vk Avatar asked Aug 28 '26 17:08

sens_vk


1 Answers

Right click on it and choose Refactor | Rename. Then choose Rename project in appeared popup. You can also use File | Rename Project... instead.

Alternatively, try deleting/editing PROJECT_ROOT/.idea/.name file (it's a plain text file with a single line of text). The IDE must be closed at that time of course (otherwise it will overwrite it with the current data when you close the project).


Other than that (if the above does not work for some strange reason): delete the whole .idea subfolder and create a new project from existing files (you would need to configure project from scratch though).

like image 199
LazyOne Avatar answered Sep 03 '26 22:09

LazyOne



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!