Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

56 lines (36 sloc) 1.28 kb

Update

Changed key binding so it did not interfere with opening the side panel.

BeautifyRuby

Beautifies Ruby code. This plugin uses the Ruby Script Beautifier written by P.Lotus

I made very little modification to get it to work with a Sublime Text 2 plugin.

Key Binding

Mac OSX

  ctrl + cmd + k

Linux

  ctrl + alt + f

Installation

A pull request has been issued to Package Control.

Until accepted, usually a day or two, use the manual instructions.

Manual Installation

Mac OSX

  cd "~/Library/Application Support/Sublime Text 2/Packages/"
  git clone git://github.com/CraigWilliams/BeautifyRuby.git

Linux

  cd "~/.config/sublime-text-2/Packages/"
  git clone git://github.com/CraigWilliams/BeautifyRuby.git

Package Control

Using Package Control, a package manager for Sublime Text 2.

In Sublime Text 2, press "cmd + shift + p" and then type "install" (Mac OSX).

In Sublime Text 2, press "ctrl + shift + p" and then type "install" (Linux).

Once you see "Package Control: Install Package", enter.

When the packages load, another selection window will appear. Type

BeautifyRuby and enter. All done!

Jump to Line
Something went wrong with that request. Please try again.