Refactor Move - search for text occurrences

Is there any way to do the above?

Refactor > Rename has this option which is great for updating route information held in strings.
So changing a class from BlogController to say NewsController will update any references held in strings or ini config files.

However if i want to move this file from \controllers folder to \controllers\news\ i do not get this 'search for text...' option so the string references do not get updated.

Is there any way to do this?

Thanks

2 comments

Well i have just finished going through the process of moving a number of view templates into different folders, and the only way i could find to ensure references in strings where not missed was to move each one indivindually, then do a find in whole project on the filename.

Whilst this worked, it was extremely tedious, so i really hope there is an easier way.

0

Steve, unfortunately there is no way now to search non-code usage during Move Refactoring of class. Please feel free to vote for: http://youtrack.jetbrains.com/issue/WI-17319. If you use Move Refactoring for file try to use option "Search for reference".

0

Please sign in to leave a comment.