/zprint-atom

Atom plugin for zprint-clj

Primary LanguageJavaScript

ZPrint for Atom

Atom package to format Clojure, ClojureScript source code, EDN and s-expressions.

Installation

apm install zprint-atom

Or go to Settings → Install and search for zprint-atom.

Make sure to restart Atom after the package is installed.

Usage

There are two modes you can use:

  • Invoke manually using the keyboard shortcut CTRL + ALT + F
  • [enabled by default] Automatically format on save (toogle in Packages → ZPrint → Toggle Format on Save)

And two formatting modes:

  • Hang mode off [default]
  • Hang mode on — outputs better formatted code, but runs ~2x slower