/rufo-autoformat

Autoformat Ruby code with Rufo in Atom

Primary LanguageJavaScriptMIT LicenseMIT

rufo-autoformat

Fix Ruby code on save with rufo, the subtle, but opinionated, Ruby formatter inspired by Prettier.js.

rufo-autoformat

Install

  • gem install rufo
  • apm install rufo-autoformat

Usage

  • Save a Ruby file and it will be auto-formatted
  • cmd-alt-o to format any time
  • Format from the toolbar, Packages > Rufo Autoformat > Format File

Credits

Thanks to @bmulvihill, this started as a fork of https://github.com/bmulvihill/rufo-atom