JetBrains Rider 2017.3 Help

CoffeeScript

JetBrains Rider 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 icon CoffeeScript.

Before you start

  1. Download and install the Node.js runtime environment.
  2. Configure the Node.js interpreter in JetBrains Rider as described in Configuring a local Node.js interpreter.
  3. Make sure Node.js and the CoffeeScript plugins are enabled. The plugins are activated by default. If the plugins are disabled, enable them on the Plugins settings page as described in 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:
  • Code generation
    • Generating code stubs based on file templates during file creation.
    • Ability to create line and block comments (Ctrl+Alt+//Ctrl+Shift+/).
  • Navigation through source code
    • Navigating with Structure View.
    • Navigate | Declaration (F12).
    • Navigate | Implementation (Alt+End) from overridden method / subclassed class.
    • Navigate | Symbol (Ctrl+Shift+Alt+T.
  • 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: 19 April 2018

See Also

Language and Framework-Specific Guidelines: