Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Getting Jade and Stylus working w/ Sublime Text 2

Download Jade and Stylus bundles

https://github.com/miksago/jade-tmbundle
https://github.com/LearnBoost/stylus/tree/master/editors

~/Downloads/

Create directories:

cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages
mkdir Jade Stylus

Copy the files over

cp -rf ~/Downloads/Jade.tmbundle Jade/
cp -rf ~/Downloads/Stylus.tmbundle Stylus/

IF you already have them inside Textmate then you do this

cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages
mkdir Jade Stylus
cp -rf ~/Library/Application\ Support/TextMate/Bundles/Jade.tmbundle ./Jade/
cp -rf ~/Library/Application\ Support/TextMate/Bundles/Stylus.tmbundle ./Stylus/
@liamdon

This comment has been minimized.

Show comment Hide comment
@liamdon

liamdon Jul 28, 2011

Thanks!

liamdon commented Jul 28, 2011

Thanks!

@cstumph

This comment has been minimized.

Show comment Hide comment
@cstumph

cstumph Aug 3, 2011

Thanks indeed!

cstumph commented Aug 3, 2011

Thanks indeed!

@Nek

This comment has been minimized.

Show comment Hide comment
@Nek

Nek Dec 6, 2011

If you have git installed which is quite possible assuming this site name:

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

Nek commented Dec 6, 2011

If you have git installed which is quite possible assuming this site name:

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

This comment has been minimized.

Show comment Hide comment
@FGRibreau

FGRibreau Dec 23, 2011

Thanks !

Thanks !

@hapticdata

This comment has been minimized.

Show comment Hide comment
@hapticdata

hapticdata Feb 2, 2012

For anyone that may be looking for this but using Sublime Text 2 on Linux it is a little different, heres how I got it to work:

cd Sublime Text 2/Pristine Packages
git clone https://github.com/miksago/jade-tmbundle.git Jade.tmbundle
then I compressed the .tmbundle into a .zip, and changed the extension from .zip to .sublime-package

For anyone that may be looking for this but using Sublime Text 2 on Linux it is a little different, heres how I got it to work:

cd Sublime Text 2/Pristine Packages
git clone https://github.com/miksago/jade-tmbundle.git Jade.tmbundle
then I compressed the .tmbundle into a .zip, and changed the extension from .zip to .sublime-package

@acao

This comment has been minimized.

Show comment Hide comment
@acao

acao Feb 10, 2012

Tried it the same way in Linux and had some trouble. This worked for me:

cd ~/.config/sublime-text-2/Packages
git clone https://github.com/miksago/jade-tmbundle.git Jade

acao commented Feb 10, 2012

Tried it the same way in Linux and had some trouble. This worked for me:

cd ~/.config/sublime-text-2/Packages
git clone https://github.com/miksago/jade-tmbundle.git Jade
@ootz0rz

This comment has been minimized.

Show comment Hide comment
@ootz0rz

ootz0rz Apr 21, 2012

Very similar on windows, except the path is: "%appdata%\Sublime Text 2\Packages"

ootz0rz commented Apr 21, 2012

Very similar on windows, except the path is: "%appdata%\Sublime Text 2\Packages"

@Grawl

This comment has been minimized.

Show comment Hide comment
@Grawl

Grawl Jul 18, 2012

Su stupid thread. It can be replaced with one string: “Sublime Text 2 supports Textmate Bundles”.

Grawl commented Jul 18, 2012

Su stupid thread. It can be replaced with one string: “Sublime Text 2 supports Textmate Bundles”.

@acao

This comment has been minimized.

Show comment Hide comment
@acao

acao Jul 31, 2012

Actually, it's showing up in a lot of google searches, thus why I posted the linux example. It seems that jade is one of the more popular to install ST2 packages, and is likely one of the first that folks tend to install, thus it helps that folks can learn by example here. If you would prefer to troll open source communities with useless commentary, then please continue.

acao commented Jul 31, 2012

Actually, it's showing up in a lot of google searches, thus why I posted the linux example. It seems that jade is one of the more popular to install ST2 packages, and is likely one of the first that folks tend to install, thus it helps that folks can learn by example here. If you would prefer to troll open source communities with useless commentary, then please continue.

@daver182

This comment has been minimized.

Show comment Hide comment
@daver182

daver182 Nov 20, 2012

The linux command works just great. You save me time searching.

Thanks!!

The linux command works just great. You save me time searching.

Thanks!!

@vinch

This comment has been minimized.

Show comment Hide comment
@vinch

vinch Jan 15, 2013

Very useful, thank you Christian!

vinch commented Jan 15, 2013

Very useful, thank you Christian!

@ariporad

This comment has been minimized.

Show comment Hide comment
@ariporad

ariporad Feb 26, 2013

Thanks!

Thanks!

@bernardinus-sleeper

This comment has been minimized.

Show comment Hide comment
@bernardinus-sleeper

bernardinus-sleeper Apr 9, 2013

i think i miss something that my sublime still didnt give me the highlight. Could anyone help me..

i think i miss something that my sublime still didnt give me the highlight. Could anyone help me..

@dsteinel

This comment has been minimized.

Show comment Hide comment
@dsteinel

dsteinel Oct 31, 2013

yeah, nice! Thanks alot.

yeah, nice! Thanks alot.

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