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

CoffeeScript

Last modified: 24 August 2022

Required plugins: CoffeeScript, File Watchers

The plugins are 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