File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 60046

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
Jsp code and making changes in javascript
Changing maxlength of textfield
Changing the target of a form
titlebaricon in the IE
how to validate both check box and textbox field at a time