Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Insert and create Snippets.app snippets within Espresso
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Code
English.lproj
Snippets-sugar.xcodeproj
XML Based/TextActions
.gitignore
Info.plist
README.markdown

README.markdown

Snippets.sugar for Espresso

The Snippets.sugar adds the ability to very easily insert and create snippets for Snippets.app from within Espresso.

This is awesome because it allows you to easily insert snippets from Snippets.app that contain Snippets-style placeholder variables, Espresso tab stops, or Textmate tab stops. Because your snippets are passed through the Espresso snippet system, you also can use neat tricks like placeholder variables and interpolated shell code.

Installation

To install, download the latest version, unzip it, and double click it. If you have previously installed the Snippets.sugar, you may need to delete the old copy first; it lives here:

~/Library/Application Support/Espresso/Sugars/Snippets.sugar

Usage

You can access the sugar from Actions→Snippets.app menu. To create a new snippet, you will first need to select some text in the front-most Espresso window.

You can set default author and license information within the Espresso Advanced preferences, as well as choose how to interpret snippets that are being inserted from Snippets.app.

Building from source

If you wish to modify Snippets.sugar for whatever reason, building it from source should be straight-forward if you are used to working with Xcode. Currently, the Xcode project is from Xcode 3, so you may need to make some modifications to get it to build with Xcode 4.

Also, note that if you have Espresso installed somewhere other than your root Applications older, you will need to update the APPLICATION_PATH variable in the project settings (it needs to know where the Espresso header files are living in order to build).

Something went wrong with that request. Please try again.