I just started using Sublime Text 2 on Mac. I also just started using Jade for my views in Node.js, and am wondering if there is a way to add syntax highlighting for Jade in
Jade is also available via the Sublime Package Control.
The accepted answer refers to a plugin that is deprecated and no longer active. For those who are still looking for a supported Jade plugin for Sublime Text, you should use this repo:
https://github.com/davidrios/jade-tmbundle
This is also on Package Control:
https://packagecontrol.io/packages/Jade
I've made the following on linux ST2 build 2221
:
git clone https://github.com/miksago/jade-tmbundle.git Jade.tmbundle
Then
zip -r Jade.zip Jade.tmbundle/
mv Jade.zip Jade.sublime-package
mv Jade.sublime-package /sublime_folder_location/Pristine Packages/
@jurka -
~/Library/Application Support/Sublime Text 2/Packages/
~/.Sublime Text 2/Packages/
%APPDATA%/Sublime Text 2/Packages/
Clone into the path shown above for linux.
For ubuntu 11.10 correct path to packages for me is ~/.config/sublime-text-2/Packages You can easily find your packages location using Menu: "Preferences" -> "Browse Packages..."
If you are on Mac:
Go to Library/Applciation Support/Sublime Text 2/Packages/ then,
curl -O https://raw.github.com/miksago/jade-tmbundle/master/Syntaxes/Jade.tmLanguage