One possibility that I've come across (though haven't used extensively yet) for css is:

The Dustme Selectors firefox addon, which is supposed to let you weed out css selectors that aren't used when you browse a subset of pages.

Another solution that I have used for minor css checks is:

Some of the "color word to color code efficiency changes" are probably very minimal unless you have a large number of occurrences of them, but it's useful for analysis in general as well.


Check out CodeRush, a plugin for MS Visual Studio. It claims to support over 50 different refactorings for JavaScript. How far did DevExpress get with Javascript refactoring?

Hope that helps!


The trick is to maintain CSS clean and transparent from the beginning and clean it up as soos as things are starting to get messy.

CSS is one of those things that are terribly hard to clean up LATER.

Also, when naming selectors, choose names wisely in order to avoid coincidence with the other code of the application (at least when case-sensitive). This will help you with search & replace approach.


Eclipse Galileo for Java EE 3.5 has built-in support for JavaScript, with auto-complete, refactoring, etc. For HTML/XHTML/CSS, I'm not aware of any special features to ease refactoring apart from the project-wide search/replace.

From this point of view, IntelliJ IDEA seems thus to have much better support. See:


Because Javascript is weakly typed, effortless refactoring is nearly impossible. JetBrains Webstorm is the best thing out there that does something that "resembles" refactoring.

And please look at this comparison of Javascript refactoring of common Javascript IDEs :


IntelliJ seems to support Javacsript/HTML/CSS refactoring out of the box.

Related Query

More Query from same tag