It is for 
- easing debugging (some errors are specific to compiled or source builds), 
- to open the generated file in JSEclipse, and highlight all the uses of the
method/variable under the cursor.  As Javascript is a dynamic language, it's
hard to know inter-dependencies, specially when you have your source files
splitted.
- source version is hard to work with in Firebug (as the combo can have
dozens of files), and is much slower to reload the page.

I know we have also the source version, but I find also useful a pretty
printing compiled code (not for deploying).  But know that I think it can be
easy accomplished by running twice generator.py


Sebastian Werner wrote:
> 
> Pretty printing is meant for source files. What would be the reason to 
> format compiled code? (which is normally optimized for size - not for 
> design).
> 
> Sebastian
> 
> 
> 
> dperez schrieb:
>> Hi,
>> 
>> I would like the generator to pretty print the compiled output script.
>> Does the --pretty-print option reformat original source files or the
>> compiled one?
>> 
>> I will update the wiki with any helpful answer
>> (http://qooxdoo.org/documentation/0.7/custom_builds)
>> 
>> Regards,
>> David
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Pretty-print-tf3888817.html#a11024577
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to