Sublime Forum

CoffeeScript "Run"

#1

Has anyone figured out how to get this working? I’ve read several threads but they are confusing.

I have installed jashkanas tmbundle and compile/build (cmd-b) works. However, command-r doesn’t seem to “run” the coffeescript.

I have seen other sublime text 2 plugins ie. github.com/Xavura/CoffeeScript-Sublime-Plugin that look like they solve all the coffeescript issues I’m having. I emailed the author but have yet to hear back…

Guidance, thoughts, rotten cucumbers?

0 Likes

#2

I probably can’t help, but things to check:

(Double-)check the key-binding;
Does it work with just selected text, rather than the whole file;
Use puts/print for the output;
The output could be in the Console (ctrl-’ (apostrophe) in Windows), or (according to the 2nd plug-in) display in the status bar;
It could be a path issue:

“If your Coffee binary isn’t in /usr/local/bin then you can edit binDir in CoffeeScript.sublime-settings”

But I’m just offering a second voice to your endeavour :smile:

0 Likes

#3

Ahhh… Thank you for the reminders of items to check. I will report back after I check each one. (I am on Mac OSX)

0 Likes