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

0

The folder was renamed, but I forced to change many items in settings

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?

And now i don't see any way, instead of copy project files to the new path and initialize new project at new directory

Simple copying the project folder to the new location and opening this new project should suffice.

0

> 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

0

Please report each case separately at https://youtrack.jetbrains.com/newIssue for a corresponding team to address

0

请先登录再写评论。