Pretty Print / HTML Tidy for Google Web Toolkit (GWT)?

Is there a GWT (Google Web Toolkit) function for correctly printing the output of html widgets? (I apologize if the question is poorly worded - I'm not a GWT developer, but our developers claim that there is no way to do this)

Currently, all the output is a huge single-line block, which makes debugging problems with CSS, etc. significant challenge.

HTML Tidy / Pretty Print, at least during testing, will be a big help.

+4
source share
1 answer

If you use Firebug, all this is well formatted (HTML, that is). If you want compiled JavaScript to make more sense, you can use the -style PRETTY switch.

+5
source

Source: https://habr.com/ru/post/1303049/


All Articles