Since Sublime Text 2 does not support Jade syntax highlighting out of the box, you have to add the feature yourself. Adding Jade support is easy though. I found the following tip on StackOverflow. Sublime Text 2 supports the same format as TextMate when it comes to syntax definition files. First, navigate to the Sublime Text Packages folder, on OSX found at
1
|
|
Create a folder called Jade
. Now download the syntax files into this folder, either by using Curl or just directly. One example is found here.
Downloading using Curl:
1
|
|
Re-open any open Jade file in Sublime Text 2, and there you go. Quite easy.