#26 Rename Symbols

Press Ctrl+T (Windows/Linux: Ctrl+Shift+Alt+T) to invoke the Refactor This pop up, or choose Refactor | Refactor This from the menus.

Alternatively, press Shift+F6 to directly invoke the rename action on the symbol under the cursor.

For certain symbols, like variables in the global scope, PhpStorm will invoke the rename dialog as opposed to renaming the symbol in-place. For other symbols, like class methods, PhpStorm will preview the changes in the Find tool window allowing you to see the changes that will be made before applying them.

Further Reading

comments powered by Disqus