CoffeeScript

19.09.2011
3 389
Plugin for CoffeeScript language support for IntelliJ IDEA 10.5 (Ultimate Edition). The plugin is bundled in RubyMine 3.2 and later will be bundled in other JetBrains IDEs.

Download plugin

Recent change notes

Compatibility with PyCharm 1.5.4
21.11.2016
I've really like this plugin for a long time. However, it's now getting severely out-dated. It's no longer in-step with the current version of CoffeeScript., namely the ES2015 support. Is this plugin even still supported/maintained? It hasn't been updated since 2011.
31.01.2016
Great work! I did not found another IDE that could support basic refactoring within coffee-script.
13.03.2015
Please, remove "yield" from list of reserved words: it is now fully supported in version 1.9+ of coffee and compilled as ES6 yield.
22.10.2014
Please remove 'yield' as a reserved word as it is now supported in the 'master' branch. (Not official yet). https://github.com/jashkenas/coffeescript/commit/dd5da7f5f285a32aa2e3d0b0cbd6577e22cae131
06.11.2013
I forgot to add, this happens when I use a Node run configuration.
06.11.2013
I am not able to debug Coffeescript. Is it possible with this pluing? As soon as I check "Run with CoffeScript plugin" and apply changes, the debugging symbol fades away. Running works tough. Thanks!
01.06.2012
I want to share my configuration steps - as I spent some time to understand how to do this.
I use win 7.
1. Download and install Node.js.
2. Use npm coffee-script without -g param. It will install coffee-script to the same directory as Node.
3. Create new "Run/Debug" configuration of "Node JS".
4. Set "Path to Node" to the directory where the node.exe file arranged(C:\Program Files\nodejs).
5. Set "Working Directory" to the path where your coffee script files arranged.
6. Set "Path to Node App JS file" to the "entry point" file of your project or any file which you want to run.
7. Check "Run with CoffeeScript plugin" checkbox.
8. Set "Path to cofee executable" to the cofee-script module( In my case C:\Program Files (x86)\nodejs\node_modules\coffee-script\bin\coffee). This file will contain next code
15.05.2012
How about seeing what went wrong? I have a coffee file run with node.js and all I can see is some stack trace (but it can't find the fs.js file so no sources). No error message, no error in the console (as I used to have on linux terminal), nothing. How figure it out? ;)
30.04.2012
I'm on OSX and generating previews of compiled coffeescript is incredibly CPU-intensive - is there possibly a bug here? It doesn't seem to be handing the file off to coffee -c, which is what I would expect.
23.09.2011
Finally figured out how to use it.
I'm pretty sure that there must be an easier way, but this worked for us:

1. install the NodeJS plugin, and npm coffee-script.
2. of the Run/Debug configurator.
3. set 'Path to Node' to the location of node (e.g. on OSX: /usr/local/bin/node).
4. set 'Path to Node App JS File' to the location of coffee (eg /usr/local/bin/coffee).
5. set "application parameters" to your .coffee file (eg test.coffee)

The key thing is to run coffee from node. If you look in the coffee file, you'll see that it's a nodejs file with the node shebang.

Note to Jetbrains: provide a coffeescript run/debug configurator ASAP !!!
Please  sign in  to leave a comment.