File move / refactoring not working

I'm working on PHPStorm 10.0.3 Mac and for (at least) the last couple of days, file refactoring hasn't been working.

I'm working with classes in a packages/ folder, which are found quite happily in the rest of the app, but when I move or rename the files, with the checkbox on to Search for references, it moves the file, but then does not:

  • Rename the file
  • Update the class name
  • Update the package
  • Update any of the references

I've tried marking a few folders as Sources Root but this hasn't helped either.

Help would be appreciated, thanks.

2
36 comments
Avatar
Permanently deleted user

I also can reproduce this issue

0

3dandrew, thanks for sharing the test project. I can confirm that it is still reproducible in PhpStorm 2020.2 EAP, here is a ticket about it:

https://youtrack.jetbrains.com/issue/WI-4439

0

I am having this problem suddenly after a recent update.  Moving or deleting files from the project navigator simply does not work.

I have tried several different ways of doing so and am working with an angular 10 project

 

0

Do you move files from the Project Tool window to the OS explorer or within the project?

0

It's 2023 and this is still broken

0

Do you mind me asking what is broken exactly? If this is about WI-4439, it is still in "Open" state.

0

Please sign in to leave a comment.