8000 GitHub - pid/jsformat-atom: javascript formatting for the Atom editor
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

pid/jsformat-atom

8000
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JsFormat

Javascript + json formatting/beautification for the Atom text editor.

Keybinding

ctrl+alt+f

Command Palette

JsFormat: Format

Settings

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:

  • indent_with_tabs: false,
  • max_preserve_newlines: 4,
  • preserve_newlines: true,
  • space_in_paren: false,
  • jslint_happy: false,
  • brace_style: "collapse",
  • keep_array_indentation: false,
  • keep_function_indentation: false,
  • space_before_conditional: true,
  • eval_code: false,
  • unescape_strings: false,
  • break_chained_methods: false,
  • e4x: false

About

javascript formatting for the Atom editor

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CoffeeScript 92.1%
  • JavaScript 7.9%
0