coffee-mode 0

Emacs Major Mode for CoffeeScript

5 years after

CoffeeScript Major Mode

An Emacs major mode for CoffeeScript and IcedCoffeeScript, unfancy JavaScript.

Provides syntax highlighting, indentation support, imenu support, a menu bar, and a few cute commands.

Screenshot

Installation

Install from the GNU Emacs Lisp Package Archive.

[coffee-mode used to offer automatic deletion of trailing whitespace. This is now left to whitespace-mode. See its documentation for full details, but as a hint, configure:

(setq whitespace-action '(auto-cleanup)) ;; automatically clean up bad whitespace
(setq whitespace-style '(trailing space-before-tab indentation empty space-after-tab)) ;; only show bad whitespace

Then turn on whitespace-mode, or global-whitespace-mode.]

imenu

If you're using imenu, coffee-mode should work just fine. This means users of textmate.el will find that ⇧⌘T (textmate-go-to-symbol) mostly works as expected.

If you're not using imenu check out this page or textmate.el for a really awesome way to jump quickly to a function's definition in a file.

Commands

If you have easymenu you can get to any of these commands from the menu bar:

coffee-mode menu bar

Bugs

Please file bugs at http://github.com/defunkt/coffee-mode/issues


Top Contributors

defunkt rrthomas semperos knu sstephenson mkhl orlandohill akheron tav piranha levskaya bartvandendriessche bretthoerner chellmuth typester errge jaeyeom josh kelleyk mizchi lorensr my8bird superbobry disnet Wilfred fred-o markhellewell mooz theJohnnyBrown

Releases

-   v0.3.0 zip tar
-   v0.2.0 zip tar
-   v0.1.0 zip tar