Are there any cosmetics for CoffeeScript?

Are there any decorations / formatters for coffeescript? One solution I can come up with for compiling in javascript and then using the js2coffee tool to convert back to coffeescript. However, this method is redundant and does not retain the function binding =>

EDIT: I know that larger ides (netbeans, aptana, Visual Studio 11) can be extended to support coffeescript formatting. However, I am looking for a standalone tool for this.

+7
source share
3 answers

js2coffee should do it right. CoffeeScript code that works correctly should already be β€œpretty,” since most of its features are optional.

+2
source

I noticed that you mentioned notepad ++ and integrated the tool into it, and I wrote a User Defined Language file for Notepad ++ to highlight the syntax in CoffeeScript ( https://github.com/blakmatrix/CoffeeScript_notepad_UDL ) and just set my indent in 2 spaces. I would comment on another answer, but I have only 1 representative.

+10
source

The latest beta version of Aptana Studio 3 has lightweight support for Coffeescript. It might be worth checking out because it can automatically format the code. Cmd + shift + f

+1
source

All Articles