CoffeeScript
This feature is only supported in the Ultimate edition.
IntelliJ IDEA integrates with the CoffeeScript compiler, recognizes *.coffee
files, and provides full range of coding assistance without any additional steps from your side. CoffeeScript files are marked with .
Before you start
- Download and install the Node.js runtime environment.
- Configure the Node.js interpreter in IntelliJ IDEA as described in Configuring a local Node.js interpreter.
Coding assistance
CoffeeScript support includes:
- Code completion for keywords, labels, variables, parameters and functions.
- Error and syntax highlighting.
- Code formatting and folding.
- Refactoring: see Rename Refactorings, Move Refactorings, and Refactoring JavaScript for details.
- Code generation
- Generating code stubs based on file templates during file creation.
- Ability to create line and block comments (Ctrl+Slash/Ctrl+Shift+Slash).
- Navigation through source code
- Navigating with Structure View.
- (Ctrl+B).
- (Ctrl+Alt+B) from overridden method / subclassed class.
- (Ctrl+Shift+Alt+N.
- Compiling to JavaScript for further running, debugging, and testing, see Running CoffeeScript and Debugging CoffeeScript.
- Executing CoffeeScript files involves:
- Ability to preview results of CoffeeScript files compilation to JavaScript.
- Ability to launch CoffeeScript files from the context menu.
- Run/debug configuration for Node.js includes the ability to use CoffeeScript plugin.
Last modified: 6 March 2018