I'm generating huge amount of JavaScript(on server side, ExtJS code) and for debug purposes(mainly,since for production I will -probably - minify the code) it would be nice to have well formatted JavaScript code.
Anybody know a library which offer such support?
Thanks.
Edit 1: What I'm looking for is a Java library which will :
- layout/format a generated script or
- help me to create the script(which I actually started to do, because it is easier to layout/format during generation than post generation - analyzing a complex JavaScript file looks more complicated than writing the script with correct indentation/layout) by providing a higher level Writer, which takes care of all the layout/indentation.