RubyMine
 
Get RubyMine
You are viewing the documentation for an earlier version of RubyMine.

CoffeeScript

Last modified: 09 August 2022

Required plugins:

CoffeeScript -  The plugin is bundled with RubyMine and enabled by default.

File Watchers -  Install the plugin on the Settings/Preferences | Plugins page, tab Marketplace.

With RubyMine, you can use CoffeeScript that compiles into JavaScript. RubyMine recognizes *.coffee files and marks them with the CoffeeScript icon. You can set breakpoints directly in your CoffeeScript code and RubyMine recognizes them using source maps generated during compilation.

RubyMine helps you write CoffeeScript code by suggesting completion for keywords, labels, variables, parameters and functions. You can jump from a symbol to its declaration Ctrl+B or implementation Ctrl+Alt+B as well as find any symbol by its name Ctrl+Alt+Shift+N.

RubyMine integrates with the coffeescript compiler that translates CoffeeScript code into JavaScript. The tool also creates source maps that set correspondence between lines in your CoffeeScript code and in the generated JavaScript code so that RubyMine debugger recognizes breakpoints in your CoffeeScript code and processes them correctly.

Language and Framework-Specific Guidelines