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.

Show comment
Hide comment
@ptdorf

ptdorf May 11, 2012

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

ptdorf commented May 11, 2012

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

@ForbesLindesay

This comment has been minimized.

Show comment
Hide comment
@ForbesLindesay

ForbesLindesay Aug 15, 2012

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

ForbesLindesay 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.

Show comment
Hide comment
@darinh

darinh Sep 28, 2012

Thanks! (:

darinh commented Sep 28, 2012

Thanks! (:

@jonki

This comment has been minimized.

Show comment
Hide comment
@jonki

jonki Dec 17, 2012

Awesome, thanks!!! :)

jonki commented Dec 17, 2012

Awesome, thanks!!! :)

@nskeip

This comment has been minimized.

Show comment
Hide comment
@nskeip

nskeip Mar 1, 2013

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

nskeip commented Mar 1, 2013

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

@hallizh

This comment has been minimized.

Show comment
Hide comment
@hallizh

hallizh commented Apr 9, 2013

Thanks!

@phungnc

This comment has been minimized.

Show comment
Hide comment
@phungnc

phungnc commented Apr 13, 2013

Thanks

@richhollis

This comment has been minimized.

Show comment
Hide comment
@richhollis

richhollis 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.

richhollis 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.

Show comment
Hide comment
@ericfish

ericfish Jun 2, 2013

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

ericfish commented Jun 2, 2013

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

@StanBoyet

This comment has been minimized.

Show comment
Hide comment
@StanBoyet

StanBoyet Jun 17, 2013

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

Thx :)

StanBoyet 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.

Show comment
Hide comment
@zerokol

zerokol Jul 10, 2013

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

zerokol commented Jul 10, 2013

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

@a4anishm

This comment has been minimized.

Show comment
Hide comment
@a4anishm

a4anishm commented Jul 17, 2013

THanks!

@danielsvane

This comment has been minimized.

Show comment
Hide comment
@danielsvane

danielsvane 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

danielsvane 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.

Show comment
Hide comment
@zjwhitehead

zjwhitehead 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)

zjwhitehead 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.

Show comment
Hide comment
@regissoares

regissoares commented Oct 18, 2013

@atomicframeworks

This comment has been minimized.

Show comment
Hide comment
@atomicframeworks

atomicframeworks Dec 2, 2013

Worked perfectly. Thanks!

atomicframeworks commented Dec 2, 2013

Worked perfectly. Thanks!

@jescott

This comment has been minimized.

Show comment
Hide comment
@jescott

jescott Dec 22, 2013

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

jescott 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.

Show comment
Hide comment
@Phazz

Phazz Jan 8, 2014

Thanks love it !

Phazz commented Jan 8, 2014

Thanks love it !

@iamjeannie

This comment has been minimized.

Show comment
Hide comment
@iamjeannie

iamjeannie Feb 19, 2014

Works great !! thank you :-)

iamjeannie commented Feb 19, 2014

Works great !! thank you :-)

@BattleBrisket

This comment has been minimized.

Show comment
Hide comment
@BattleBrisket

BattleBrisket 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

BattleBrisket 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.

Show comment
Hide comment
@regissoares

regissoares Mar 8, 2014

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

regissoares commented Mar 8, 2014

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

@TimWagner

This comment has been minimized.

Show comment
Hide comment
@TimWagner

TimWagner Apr 23, 2014

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

TimWagner commented Apr 23, 2014

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

@saqib-nadeem

This comment has been minimized.

Show comment
Hide comment
@saqib-nadeem

saqib-nadeem commented Apr 30, 2014

Great :)

@juandefelix

This comment has been minimized.

Show comment
Hide comment
@juandefelix

juandefelix commented May 6, 2014

It Works!!

@raduluchian

This comment has been minimized.

Show comment
Hide comment
@raduluchian

raduluchian 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!

raduluchian 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.

Show comment
Hide comment
@zzz6519003

zzz6519003 commented Jun 12, 2014

Thanks

@bobmeister

This comment has been minimized.

Show comment
Hide comment
@bobmeister

bobmeister Jun 12, 2014

Works like a champ. Thanks!

bobmeister commented Jun 12, 2014

Works like a champ. Thanks!

@fitzryland

This comment has been minimized.

Show comment
Hide comment
@fitzryland

fitzryland Jul 3, 2014

Perfect. Thanks.

fitzryland commented Jul 3, 2014

Perfect. Thanks.

@garyhussey

This comment has been minimized.

Show comment
Hide comment
@garyhussey

garyhussey Jul 6, 2014

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

garyhussey 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.

Show comment
Hide comment
@paraggupta1993

paraggupta1993 Jul 24, 2014

Thanks a lot !

paraggupta1993 commented Jul 24, 2014

Thanks a lot !

@vajapravin

This comment has been minimized.

Show comment
Hide comment
@vajapravin

vajapravin Aug 27, 2014

Cool. Thanks.

vajapravin commented Aug 27, 2014

Cool. Thanks.

@winnemucca

This comment has been minimized.

Show comment
Hide comment
@winnemucca

winnemucca 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.

winnemucca 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.

Show comment
Hide comment
@ghost

ghost Sep 18, 2014

thank you very much!! :)

ghost commented Sep 18, 2014

thank you very much!! :)

@maereed

This comment has been minimized.

Show comment
Hide comment
@maereed

maereed Sep 21, 2014

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

maereed commented Sep 21, 2014

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

@diliaur

This comment has been minimized.

Show comment
Hide comment
@diliaur

diliaur Oct 10, 2014

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

diliaur commented Oct 10, 2014

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

@juanortizthirdwave

This comment has been minimized.

Show comment
Hide comment
@juanortizthirdwave

juanortizthirdwave Oct 20, 2014

Works, perfectly!

juanortizthirdwave commented Oct 20, 2014

Works, perfectly!

@gingerwilliams

This comment has been minimized.

Show comment
Hide comment
@gingerwilliams

gingerwilliams commented Nov 21, 2014

Boom! Thanks

@josephrexme

This comment has been minimized.

Show comment
Hide comment
@josephrexme

josephrexme 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!

josephrexme 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.

Show comment
Hide comment
@ghost

ghost Jan 13, 2015

Works perfect, thank you!

ghost commented Jan 13, 2015

Works perfect, thank you!

@anantzoid

This comment has been minimized.

Show comment
Hide comment
@anantzoid

anantzoid Mar 23, 2015

Thanks a ton 😄

anantzoid commented Mar 23, 2015

Thanks a ton 😄

@AndrewWang996

This comment has been minimized.

Show comment
Hide comment
@AndrewWang996

AndrewWang996 Jul 5, 2015

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

AndrewWang996 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.

Show comment
Hide comment
@karatsuba

karatsuba Oct 6, 2015

works nice with ST3 on Ubuntu 14.04!
thanks!

karatsuba commented Oct 6, 2015

works nice with ST3 on Ubuntu 14.04!
thanks!

@mindgamesru

This comment has been minimized.

Show comment
Hide comment
@mindgamesru

mindgamesru commented Jul 14, 2016

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment