JetBrains Rider 2018.1 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. Install Node.js and configure it as a local Node.js interpreter.
  2. 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:
  • 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: 11 July 2018

See Also

Language and Framework-Specific Guidelines: