CoffeeScript
AppCode 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
Install Node.js and configure it as a local Node.js interpreter.
Install and enable the NodeJS repository plugin on the Plugins page as described in Installing, Updating and Uninstalling Repository Plugins and Enabling and Disabling Plugins.
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 and Copy 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 (N/A/N/A).
- Navigation through source code
(N/A).
(N/A) from overridden method / subclassed class.
(N/A.
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.