Sublime Forum

Using Coffeescript tmbundle

#1

Hi folks,

I am using this bundle github.com/jashkenas/coffee-script-tmbundle as most discussion threads on here suggest. Back in Textmate I was able to display the javascript output using CMD+B. I canā€™t figure out how to do this on Sublime 2. Any ideas please?

Thanks,
Dany.

0 Likes

#2

Youā€™ll have to make a new ā€œbuild system.ā€ Go to Tools > Build System > New Build System. Try adding something like this: { "cmd": "coffee", "-p", "$file"], "selector" : "source.coffee", "path" : "/usr/local/bin" }

Now it should build on command-B. If that does work, you can search the forum for others who have made build systems for coffeescriptā€¦

0 Likes

#3

Yes, I have done this already and I think it works. All I get is a panel across the bottom that says [Finished]. I would like to have the Javascript output displayed to me, like it was in Textmate.

0 Likes

#4

Sorry. Not a coffee user. :neutral_face: Canā€™t help with converting it to js. Iā€™m sure someone else can though.

0 Likes