This week's book giveaway is in the JDBC forum.
We're giving away four copies of Make it so: Java DB Connections & Transactions and have Marcho Behler 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 Make it so: Java DB Connections & Transactions this week in the JDBC 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: 15385
Can't you just do a find an d replace?

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63552

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] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Java Script Refactoring Tool
It's not a secret anymore!