subtleGradient / ruby.sugar forked from elliottcable/ruby.sugar

A Ruby sugar for MacRabbit's Espresso text editor

This URL has Read+Write access

name age message
file Languages.xml Sun Nov 02 17:59:59 -0800 2008 Added Rakefile support, and made extensions non... [elliottcable]
file README.markdown Tue Nov 04 20:52:19 -0800 2008 Added instructions for installing the Sugar as ... [elliottcable]
directory Syntaxes/ Wed Nov 05 00:41:42 -0800 2008 Removed some superfluous elements in a few of t... [elliottcable]
directory Tests/ Wed Nov 05 13:27:51 -0800 2008 Imported test ruby file from TextMate's Ruby.tm... [subtleGradient]
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!