Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
CoffeeScript, Jade and Stylus syntax highlighting in Sublime Text 2

Step 1: Clone the bundles into your Sublime Text packages directory

cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages
git clone git://github.com/jashkenas/coffee-script-tmbundle CoffeeScript
git clone https://github.com/miksago/jade-tmbundle.git Jade
git clone https://github.com/LearnBoost/stylus.git Stylus

Step 2: Restart Sublime Text 2

If it hasn't worked, try closing and reopening any saved tabs.

@ptdorf

This comment has been minimized.

Copy link

commented May 11, 2012

For EJS:
git clone git://github.com/gregory-m/ejs-tmbundle.git EJS

@ForbesLindesay

This comment has been minimized.

Copy link

commented Aug 15, 2012

Preferecnes > Browse Packages gets you to the right directory in windows. [AppData]\Roaming\Sublime Text 2\Packages

@darinh

This comment has been minimized.

Copy link

commented Sep 28, 2012

Thanks! (:

@jonki

This comment has been minimized.

Copy link

commented Dec 17, 2012

Awesome, thanks!!! :)

@nskeip

This comment has been minimized.

Copy link

commented Mar 1, 2013

thanks!
used this gist to get sublime coffee highlighting at ubuntu

@hallizh

This comment has been minimized.

Copy link

commented Apr 9, 2013

Thanks!

@phungnc

This comment has been minimized.

Copy link

commented Apr 13, 2013

Thanks

@richhollis

This comment has been minimized.

Copy link

commented Apr 24, 2013

Awesome. On Ubuntu/Mint the folder was: /home/USERNAME/.config/sublime-text-2/Packages - I used Browse Packages and then "Find in folder" and read out the Where field.

@ericfish

This comment has been minimized.

Copy link

commented Jun 2, 2013

This works good for set syntax in sublime text 2. Thanks

@StanBoyet

This comment has been minimized.

Copy link

commented Jun 17, 2013

Works like a charm on Sublime Text 2 on Mac OSX 10.8.4

Thx :)

@zerokol

This comment has been minimized.

Copy link

commented Jul 10, 2013

Perfect. On ubuntu is on ~/.config/sublime-text-2/Packages/

@a4anishm

This comment has been minimized.

Copy link

commented Jul 17, 2013

THanks!

@danielsvane

This comment has been minimized.

Copy link

commented Jul 26, 2013

Im having problems with the coffeescript url, used the https one to get it working

git clone https://github.com/jashkenas/coffee-script-tmbundle.git CoffeeScript
@zjwhitehead

This comment has been minimized.

Copy link

commented Jul 31, 2013

Thanks. Just confirmed it works on Ubuntu 13.04 with Sublime Text 3 (build 3047)
the directory was as @richhollis mentioned at ( /home/USERNAME/.config/sublime-text-3/Packages)

@regissoares

This comment has been minimized.

Copy link

commented Oct 18, 2013

@atomicframeworks

This comment has been minimized.

Copy link

commented Dec 2, 2013

Worked perfectly. Thanks!

@jescott

This comment has been minimized.

Copy link

commented Dec 22, 2013

Thanks - new Mac OSX Mavericks users with Sublime Text 3 Go to: /Users/"username"/Library/Application\ Support/Sublime\ Text\ 3/Packages

@Phazz

This comment has been minimized.

Copy link

commented Jan 8, 2014

Thanks love it !

@iamjeannie

This comment has been minimized.

Copy link

commented Feb 19, 2014

Works great !! thank you :-)

@BattleBrisket

This comment has been minimized.

Copy link

commented Feb 20, 2014

If you are using Sublime on Windows 7, you'll want to clone into

C:\Users\[YOUR_USERNAME]\AppData\Roaming\Sublime Text 2
@regissoares

This comment has been minimized.

Copy link

commented Mar 8, 2014

Better than to install manually is install Package Control: https://sublime.wbond.net/

@TimWagner

This comment has been minimized.

Copy link

commented Apr 23, 2014

Wow, much better :) Thanks a lot for sharing!

@saqib-nadeem

This comment has been minimized.

Copy link

commented Apr 30, 2014

Great :)

@juandefelix

This comment has been minimized.

Copy link

commented May 6, 2014

It Works!!

@raduluchian

This comment has been minimized.

Copy link

commented Jun 11, 2014

Excellent, works great for Sublime Text 3 on Windows 8.1! Just downloaded the Jade ZIP from GitHub and unzipped it in the packages folder (Preferences > Browse packages). Restarted Sublime and voila!

@zzz6519003

This comment has been minimized.

Copy link

commented Jun 12, 2014

Thanks

@bobmeister

This comment has been minimized.

Copy link

commented Jun 12, 2014

Works like a champ. Thanks!

@fitzryland

This comment has been minimized.

Copy link

commented Jul 3, 2014

Perfect. Thanks.

@garyhussey

This comment has been minimized.

Copy link

commented Jul 6, 2014

Thanks for the Gist, Feel dumb for not thinking to do this myself before using the package manager.

@paraggupta1993

This comment has been minimized.

Copy link

commented Jul 24, 2014

Thanks a lot !

@vajapravin

This comment has been minimized.

Copy link

commented Aug 27, 2014

Cool. Thanks.

@winnemucca

This comment has been minimized.

Copy link

commented Sep 12, 2014

lost my syntax highlighting with jade when i did the sublime text 3 update. It is still installed but i cannot figure out what is wrong.

@ghost

This comment has been minimized.

Copy link

commented Sep 18, 2014

thank you very much!! :)

@maereed

This comment has been minimized.

Copy link

commented Sep 21, 2014

Thank you! This will make life so much easier! :)

@diliaur

This comment has been minimized.

Copy link

commented Oct 10, 2014

Thank you! Works on Sublime Text 2 on OSX 10.9.4 :)

@juanortizthirdwave

This comment has been minimized.

Copy link

commented Oct 20, 2014

Works, perfectly!

@gingerwilliams

This comment has been minimized.

Copy link

commented Nov 21, 2014

Boom! Thanks

@josephrexme

This comment has been minimized.

Copy link

commented Dec 25, 2014

I hoped I wouldn't have to close the tab and re-open for my .coffee but I think that was just necessary to get it working. Thanks!

@ghost

This comment has been minimized.

Copy link

commented Jan 13, 2015

Works perfect, thank you!

@anantzoid

This comment has been minimized.

Copy link

commented Mar 23, 2015

Thanks a ton 😄

@AndrewWang996

This comment has been minimized.

Copy link

commented Jul 5, 2015

LearnBoost has apparently been acquired by another company, so the new link for Stylus is https://github.com/stylus/stylus

@karatsuba

This comment has been minimized.

Copy link

commented Oct 6, 2015

works nice with ST3 on Ubuntu 14.04!
thanks!

@mindgamesru

This comment has been minimized.

Copy link

commented Jul 14, 2016

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.