VS Code extension for formatting ruby files using the rufo gem.
Supports formatting on save, or with a command
Depends on the rufo gem being installed and available in your PATH.
$ gem install rufoUses the standard VS Code Formatting Extension API.
If you want to format a file one off, you will find > Format Document in your command palette.
Out of the box, Rufo will format your Ruby, ERB, and Gemfile documents on Save. To change this you may override editor.formatOnSave either, or more specifically just for the Ruby language:
"[ruby]": { // or [erb] / [gemfile]
"editor.formatOnSave": true
}Doesn't seem to respect .rufo preferences, not sure why yet.
