What is a right way for rename base project directory for existed project
Case #1:
- I have an existed project by path /home/php_projects/some_app/
I want to rename it's path to /home/php_projects/SomeApp/
I try to rename from IDE, refactor -> rename directory. The folder was renamed, but I forced to change many items in settings
Case #2
- I have an existed project by path /home/php_projects/some_app/
I want to move project to /home/php_projects/applications/some_app/
And now i don't see any way, instead of copy project files to the new path and initialize new project at new directory
But i hope that exists more easy way to do these operations
Please sign in to leave a comment.
All project-related settings are supposed to utilize the
$PROJECT_DIR$macro so that you didn't have to change anything if you move/rename the project folder. Which settings exactly did you have to change?Simple copying the project folder to the new location and opening this new project should suffice.
> Which settings exactly did you have to change?
some paths in Settings/Directories, some git paths in Settings/Version Control, the path to composer.json, and probably something else that I can't remember
Please report each case separately at https://youtrack.jetbrains.com/newIssue for a corresponding team to address