JSBeautify - plugin detail

Beautify Javascript. This will correctly format Javascript. Netbeans formatting is close but doesn't do some things correctly. Please contribute to the source if you want to add features or make changes.

NetBeans Plugin - JSBeautify
Plugin owner: drewhjava
Website: https://github.com/drewhjava/netbeans-jsbeautify
Added: 2012-06-13
License: MIT
Category: Editing
Downloaded: 9,983 times
Rating:
 4.28, by 6 users

Plugin Log Show log

Versions available

Download plugin   Download size: 0.39 MB   Last Update: 2012-06-16

What's new in this version

Version 0.3

Fixed issue with using tabs by default(sorry about that)
More options
Context menu now works for JSON documents


Version 0.2

Initial version.

Verifications for NetBeans versions

Plugin is not subject to any verification

Download plugin   Download size: 0.39 MB   Last Update: 2012-06-16

What's new in this version

Version 0.3

Fixed issue with using tabs by default(sorry about that)
More options
Context menu now works for JSON documents


Version 0.2

Initial version.

Verifications for NetBeans versions

Plugin is not subject to any verification



Introduction

Beautify, unpack or deobfuscate JavaScript and HTML(coming), make JSON/JSONP readable, etc..

This plugin uses spaces to format by default. If you want to use tabs please make sure you change your tab size. Preferences > Editor > Formatting > Tab Size to 4. More options to come.

JSBeautify options(rather limited right now) are located in Preferences > Misc > JSBeautify.

To assign a key combination go to Preferences > KeyMap and search for JSBeautify.

[ You have to be logged in to be able to comment. ]

User Comments

  

Belgravia Villas

Great Post. I have not been visiting the site recently. Took a visit again and there were some great comments on the site. Excellent post. Keep up the good work.
Belgravia Villas
Posted by Belgraviavillas on Apr 17, 2013
  

:(

Hey I'm sorry, this is a pretty annoying issue. It was brought up to JSBeautify over 2 years ago.

https://github.com/einars/js-beautify/issues/10

Not sure where it stands.
Posted by drewhjava on Sep 16, 2012
  

Wrap long lines

Is there way to add (beautiful) line wrapping option?
Posted by Sylar68 on Aug 28, 2012
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo