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
- Host: GitHub
- URL: https://github.com/rmosolgo/rufo-autoformat
- Owner: rmosolgo
- License: mit
- Created: 2018-08-23T15:09:40.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-08-23T15:45:47.000Z (over 7 years ago)
- Last Synced: 2025-10-06T14:49:44.737Z (3 months ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 1
- Watchers: 0
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
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.

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