Splash of Style...Macs, Photography, Design, and other Passions

How to Use Sugars in Espresso Code Editor

May 17, 2009 by debbie T | Expression EngineMac SoftwareWeb Design

I have been working with Espresso code editor from MacRabbit, and so far it’s been a good experience, but I wanted to learn more about Espresso Sugars….Sugars are little plug-ins for Espresso. Don’t ask me exactly what they all do, because I am just learning; but I believe they add functionality and coding languages to Espresso.

I downloaded the Expression Engine sugar, since that is the CMS I have been working on. I figured it would be a great help to have the Expression Engine coding easily accessible.

So, I copied the .sugar file into the sugar directory, and tried to figure out what to do next. I felt pretty stupid! I found the Expression Engine codes in the Actions menu, but they were all grayed out. huh? In fact, most of the Actions seemed to be grayed out.

I found nothing on Google, so I figured it was best to ask for help on the Espresso Discussion Forum for sugars. I quickly received an answer from Anthony Short, who I just realized is the author of the Expression Engine sugar! ha! Too funny.

Anyway, he told me Espresso should be able to automatically figure out that it’s an Expression Engine document (which it wasn’t doing) but if not, I needed to set the language for the document under View>Language.


That did the trick! All the Expression Engine coding was magically listed in the “Snippets” panel. The coding also works with code completion, which is a lot easier!

Unfortunately, there is no way to permanently set the language to Expression Engine for the document. Once you close the file or quit Espresso, it reverts back. I hope there is some way to save the document language in the future.

There are 3 comments

  1. I liked Espresso better than Coda but just the unavailability of these little features (matching curly braces, automatic curly braces etc.) is turning me off. I wish someone extends this great tool to its fullest so it’s worth $79.99.

    Comment by DemoGeek on November 22nd, 2010
  2. DemoGeek, check out 2.0 it does matching braces and all that jazz now 🙂

    Comment by Lukasz on August 11th, 2011
  3. I agree that the 2.0 is a lot better than the previous one, but still lacks the matching braces feature.

    Comment by Lucas Mendes on October 6th, 2011