Wednesday, June 03, 2009

Setting up a Clojure development environment is is fairly straightforward, although the tool support is fairly limited at present. The choices are:
  1. An Emacs clojure-mode, and that provides some support for the SLIME Lisp development environment;
  2. An Eclipse plugin, Clojure-dev;
  3. A NetBeans plugin, Enclojure.
All of these are fairly rudimentary. They each support syntax highlighting and formatting and some degree of REPL integration. The Eclipse and NetBeans plugins provide the project management capabilities of their environments, but the more advanced features (refactoring, automatic symbol cross-referencing, debugging) aren't available. Hopefully they will be added as the tools mature.

At this point, the most advanced version is Enclojure. Having been an Eclipse user for the past few years, learning a new tool has been somewhat annoying, but most of the features are present in NetBeans. The key advantage of Enclojure (over Clojure-dev) at this point is the ability to connect to a remote REPL, which is a very cool feature that I'll talk more about in a future post.

No comments: