Rename a variable, array etc


#1

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.


#2

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


#3

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


#4

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