Sunday 15 September 2013

java - How to do a mass replace of a variable in NetBeans IDE -



java - How to do a mass replace of a variable in NetBeans IDE -

how do mass replace of variable in class in netbeans ide?

for example, have int mynumber = 2; , have int mysecondnumber = 4;.

if have mynumber spread out many places through class. want way able replace of them mysecondnumber.

thanks help in advance!

you're looking process called refactoring.

http://wiki.netbeans.org/refactoring

java netbeans

No comments:

Post a Comment