wood burning stoves*
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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


SCJP, SCJD,SCWCD,SCDJWS,SCEA 5 MCP-C#, MCP-ASP.NET - http://www.khaledinho.com/
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: 61447

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: http://aspose.com/file-tools
subject: Java Script Refactoring Tool