PhpStorm
 
Get PhpStorm

CoffeeScript

Last modified: 17 January 2023

Required plugins:

CoffeeScript -  Install the plugin on the Settings | Plugins page, tab Marketplace.

File Watchers -  The plugin is bundled with PhpStorm and enabled by default.

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

PhpStorm 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.

PhpStorm 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 PhpStorm debugger recognizes breakpoints in your CoffeeScript code and processes them correctly.

Language and Framework-Specific Guidelines