An open API service indexing awesome lists of open source software.

https://github.com/rmosolgo/rufo-autoformat

Autoformat Ruby code with Rufo in Atom
https://github.com/rmosolgo/rufo-autoformat

Last synced: 3 months ago
JSON representation

Autoformat Ruby code with Rufo in Atom

Awesome Lists containing this project

README

          

# rufo-autoformat

Fix Ruby code on save with [rufo](https://github.com/asterite/rufo), the subtle, but opinionated, Ruby formatter inspired by Prettier.js.

![rufo-autoformat](https://user-images.githubusercontent.com/2231765/44534066-e7f20980-a6c4-11e8-8c1c-bbcafafcb617.gif)

## 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