File rename refactor

Does rename refactor detect which files are using the renamed file?  

0

Hi there,

Well, the rename dialog has "Search for references" option ( https://www.jetbrains.com/help/phpstorm/2016.2/rename-dialog-for-a-file.html?search=rename ) as well as occurrences in strings and comments.

Obviously, it all relies on the fact that IDE can establish such link. If IDE is unaware of your usage (unusual way how you have referenced that file; or not yet supported way .. or if some magic is used behind it (e.g. search in path during runtime)) then it may omit it.

1

请先登录再写评论。