Rename a variable, array etc


i’d suggest you add a feature to rename a variable or array or enum etc.

I’ts something visual studio lets you do. It changes the name of a variable everywhere in your source file. It’s absolutely great.


If you highlight the variable you want to change then click Tools -> rename variable you can do it right now. I think the shortcut is ctrl+alt+R


This works well in JavaScript for simple variable & function declarations, but not for property/method type declarations = “It’s me”; OR = function(){…}. It would be great to work in PHP too.


This doesn’t work with ruby, nothing happens when you click rename variable.