This plug-in is a porting of JS Beautifier (https://github.com/einars/js-beautify) based on beautify.js Feb 28, 2013 (commit 3fd3b379a2905b05265184cf17460d32ed36c78a).
Provides a functionality of formatting selected text on the editor (or *.js files) as JavaScript.
Preferences > JavaScript Formatter
On the editor : right-click -> Format As JavaScript (enabled when some text selected)
On *.js file : right-click -> Format As JavaScript (visible for *.js files only)
https://raw.github.com/atlanto/eclipse-javascript-formatter/master/pdt_tools.jsbeautifier.update/
Moved from http://sourceforge.jp/users/atlanto/pf/eclipse_javascript_format/