Search code examples
javascriptcoffeescriptwebstorm

Compile .coffee files in WebStorm


Is it possible to compile the .coffee files I am editing from WebStorm?

(Without leaving the IDE, something similar to Mindscape's Web Workbench for Visual Studio.)


Solution

  • UPDATE

    Automatic compilation is available since 6.0 version with the File Watchers feature:


    Though you can find the same answer in the question that is suggested as a duplicate, I'll post it here again with minor corrections for the recent WebStorm version:

    Latest WebStorm version has an action to compile CoffeeScript, but it just displays a window with the result without writing any files (Help | Find Action | Preview Compiled Coffeescript File, or bind it to keyboard shortcut in Settings | Keymap).

    The same action is available in the editor context menu.