Home Download Buy Blog Forum Support

CoffeeScript "Run"

CoffeeScript "Run"

Postby monkmartinez on Fri Mar 02, 2012 6:08 pm

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. https://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?
monkmartinez
 
Posts: 3
Joined: Thu Mar 01, 2012 8:31 pm

Re: CoffeeScript "Run"

Postby agibsonsw on Fri Mar 02, 2012 9:46 pm

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 :)
"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
agibsonsw
 
Posts: 901
Joined: Fri Jan 27, 2012 9:11 pm

Re: CoffeeScript "Run"

Postby monkmartinez on Fri Mar 02, 2012 11:29 pm

Ahhh... Thank you for the reminders of items to check. I will report back after I check each one. (I am on Mac OSX)
monkmartinez
 
Posts: 3
Joined: Thu Mar 01, 2012 8:31 pm


Return to General Discussion

Who is online

Users browsing this forum: Majestic-12 [Bot] and 16 guests