Nov 22, 2012

WebStorm, CoffeeScript, LESS

Setup External Tools to compile CoffeeScript (this helped):

  • Navigate to "External Tools" in the "IDE Settings".

  • Click the little ‘plus’ icon to ‘add’ a new tool.

  • Program: c:\Users\user.name\AppData\Roaming\npm\coffee.cmd

  • Parameters: -c $FileName$ (or whatever is needed)

  • Path: c:\Users\user.name\AppData\Roaming\npm (or whatever is needed)


Example setup to compile LESS (this helped):

  • c:\Users\user.name\AppData\Roaming\npm\lessc.cmd

  • $FileName$ > ..\lesscss\$FileNameWithoutExtension$.css

  • $FileDir$