Search code examples
javavariablesreplacebluej

How can I rename a particular variable throughout the whole program?


How can I change a particular variable to some other throughout the whole program?

For example, I have made an array L which has quantity, and I want to switch L with qty throughout the program!

Find and replace will take forever. Any other method that I can use here?


Solution

  • Just open your project in eclipse and use inbuilt "refactor" mechanism of eclipse IDE.