j Ulysses Style Sheet Reference
Editor Plugins
To support you editing ULSS styles, we’ve created plugins for TextMate 2 and Sublime Text 2. You may download and freely use them!
TextMate 2
TextMate 2 is a free text editor for OS X. To add support for ULSS syntax highlighting, follow these steps:
- Download the plugin and extract it
- Double-click the bundle file to install it
- Restart TextMate 2
TextMate will now open .ulss
files with our syntax highlighting and provide a (limited) auto-completion.
Sublime Text 2
With Sublime Text 2, you will get full syntax highlighting and a more advanced auto-completion. To install the plugin, follow these steps:
- Download the plugin and extract it
- Start Sublime Text 2
- From menu bar select Sublime > Browse Packages…
- Copy the extracted folder into the “Packages” directory
Please notice that the current beta of Sublime Text 3 is unsupported.
BBEdit and TextWrangler
We’ve also created a simple syntax highlighting plugin for BBEdit and TextWrangler. You may install it by the following steps:
- Download the plugin and extract it
- In Finder select the menu Go > Go to Folder and enter the following path:
- BBEdit:
~/Library/Application Support/BBEdit/Language Modules
- TextWrangler:
~/Library/Application Support/TextWrangler/Language Modules
- BBEdit:
- Copy the file ULSS.plist inside this folder
- Restart BBEdit / TextWrangler
Atom
The Atom package offers syntax highlighting and simple support for auto-completion. To install the plugin, follow these steps:
- Start Atom and open the settings menu.
- Select the “Install” menu.
- Search for “language-ulss” and choose “Install”.
Alternatively, if you have the atom shell commands installed, you can simply use the command
apm install language-ulss
to install the package from your terminal.
For more information on installing packages in Atom, visit the Atom flight manual.