does anybody know whether Chrome Developer Tools can format javascripts into human readable form ? Some kind of beautifier would be handy. Let say that I\'m using some JS li
Some browsers have a Pretty print button that looks like this {}
and it appears for HTML, JS, and/or CSS depending on the browser.
Chrome has it in the in the Sources tab:
Firefox has it in the in the Debugger tab
:
The position of these buttons may change, but it should always be in there
There is the http://jsbeautifier.org/ for online usage (you need to copy/paste).
On that site they have a link to fiddler (a web debugging proxy) and a JavaScript Formatter for it (3rd extention).
Isn't there the Pretty Print icon (looks like: { }), at least on Windows there is one, within the Scripts tab?