Hacker News new | ask | show | jobs
by bjitty 4630 days ago
I recently started using the dev tools in FF daily in place of Chrome. One thing I really wish they had (and maybe they do but I can't find it) is a way to format JavaScript code. So much JavaScript is minimized these days so reading it is about impossible. Chrome has a {} button you can click to format the code. This would be extremely useful in FF.
2 comments

They actually implemented this feature a couple of weeks ago but as for now, it's only available in the Nightly channel.
That's present in Nightly (FF27). Not sure when it was introduced though.
Pretty-printing of JavaScript landed in Nightly just a few weeks ago: http://bugzil.la/762761
Awesome that's great news thanks.