Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java Script Refactoring Tool

 
Khaled Mahmoud
Ranch Hand
Posts: 361
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

Is there any JavaScript re-factoring tool that can help me change variable names in javascript and reflect those changes back to HTML elements and JavaScript.

For example, I want to change the name of an element, from chkA to chKB, I want the tool to also change all instances using chkA to chkB in JavaScript.


Thanks in advance


Regards,
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can't you just do a find an d replace?

Eric
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65225
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moved to the IDE forum.

IntelliJ has a fair amount of JavaScript refactoring ability. It's not as robust as the Java refactoring though.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic