|
||||||||||
|
||||||||||
GroovyUsing Groovy
Language GuideGroovy FeaturesModulesExamplesUseful LinksIDE SupportSupportCommunityDevelopersTools we use
Feeds
|
groovy-mode for emacsI've created a quick groovy-mode for emacs, which has syntax hilighting, recognises curly brace indentation (just use the tab key), and doesn't panic about optional semicolons. I've tested it in emacs on Mac OSX 10.3, and it isn't painful. DownloadDownload this groovy-mode.el file and place it somewhere like (on OSX) /usr/share/emacs/site-lisp/groovy-mode.el your mileage may vary… .emacsadd the following lines to your ~/.emacs file: ;;; turn on syntax hilighting (global-font-lock-mode 1) ;;; use groovy-mode when file ends in .groovy or has #!/bin/groovy at start (autoload 'groovy-mode "groovy-mode" "Groovy editing mode." t) (add-to-list 'auto-mode-alist '("\.groovy$" . groovy-mode)) (add-to-list 'interpreter-mode-alist '("groovy" . groovy-mode)) TODO
Disclaimers
cheers,jez. |
|||||||||
|