Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A Ruby sugar for MacRabbit's Espresso text editor

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 Syntaxes
Octocat-spinner-32 Tests
Octocat-spinner-32 Languages.xml
Octocat-spinner-32 README.markdown
README.markdown

Ruby.sugar

A simple first stab at a Sugar for the Espresso text editor for Ruby source development.

Using

Clone this project somewhere, with the following:

git clone git://github.com/elliottcable/ruby.sugar.git ./Ruby.sugar

And then link it to your syntaxes directory:

mkdir -p "~/Library/Application Support/Espresso/Sugars/"
ln -s "$(pwd)/Ruby.sugar" "~/Library/Application Support/Espresso/Sugars/"

Caveats

As of 0.9b1, Espresso only supports one sort of syntax highlighting (that which is delivered with Espresso), and it's very rudimentary. For instance, the highlight that appears on function names only applies to items of name="*.name.*" that appear underneath items of name="*.function.*". This means that, although I'd like to have class names highlighted where they appear, I can't really do so without losing semanticity. Therefore this Sugar won't really look very complete if you install it, as things you might expect to be highlighted (such as aforementioned class names) won't be.

I guess we've just gotta wait for the next beta!

Something went wrong with that request. Please try again.