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

CoffeeScript

Last modified: 24 August 2022

Required plugins:

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

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

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

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

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

Language and Framework-Specific Guidelines