Atom Packages Directory

a package directory for a text editor of the 21st Century


Install with:
    apm install jsformat


JavaScript + JSON formatting/beautification for the Atom text editor.



Command Palette

Jsformat: Format


JsFormat uses whatever tab/indent settings are configured with the standard Tab Length Atom settings.

The Preferred Line Length Atom setting is only respected when the Soft Wrap At Preferred Line Length Atom setting is enabled.

By default, JSFormat’s Format on save is set to true.

The following JsBeautifier settings are available through the JsFormat settings panel (defaults shown below). Check out the official jsbeautifier documentation for more details on the options:

Keywords: format, javascript, beautify, prettify Suggest keywords
Fork me on GitHub