This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes Java Script Refactoring Tool Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Java Script Refactoring Tool" Watch "Java Script Refactoring Tool" New topic

Java Script Refactoring Tool

Khaled Mahmoud
Ranch Hand

Joined: Jul 15, 2006
Posts: 361

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


Life is the biggest school
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15376
Can't you just do a find an d replace?

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60792

Moved to the IDE forum.

IntelliJ has a fair amount of JavaScript refactoring ability. It's not as robust as the Java refactoring though.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Java Script Refactoring Tool
Similar Threads
how to validate both check box and textbox field at a time
titlebaricon in the IE
Jsp code and making changes in javascript
Changing the target of a form
Changing maxlength of textfield