Configure Espresso 2 to syntax highlight Sass files

By Michael Argentini
Managing Partner, Technology and Design

Modifying the OS X app Espresso 2 to support syntax highlighting of Sass files is an easy chore. All you need to do is modify the existing CSS plugin to recognize the Sass file extensions ‘sass’ and ‘scss’.

First, find the Espresso 2 plug-in folder, and using the contextual menu (via right-click), choose ‘Show package contents’ for the file CSS.espressoplugin.

Next, within that package, open the file Languages.xml using your preferred text editor.

 

Last, within this file, add the two lines below to the <detectors> section.

<extension>scss</extension>
<extension>sass</extension>

Now re-launch Espresso 2 and you’re good to go!

Article last updated on 4/21/2018