The Gluster Blog

Gluster blog stories provide high-level spotlights on our users all over the world

(= :heaven (+ (- eclipse projects) counterclockwise)

Gluster
2012-06-14



The big, bad Eclipse is great for whipping a massive java source tree into shape, fast.  But for Clojure – its a different, more thoughtful development idiom.  You don’t need to browse complex type hierarchies and fold 1000s of lines of code every other second.  Debuggers are, although available, not usually necessary due to the functional nature of things : problems can be directly isolated.  


Thus – I don’t want heavyweight java project management in a dynamic language environment, and I don’t any need refactoring fanciness.  Here is how to transform Eclipse into a super-productive, lightweight IDE for zen-style Clojure development: 

  1. Install counterclockwise from the Eclipse Marketplace by searching for it – or just add it via http://ccw.cgrand.net/updatesite.
  2. Go to window->Open Perspective->Remote System Explorer and find your Clojure source code folders. This is a handy trick that is little known in eclipse – you can use your file system as a “left panel” for browsing files.  Dynamic languages, which don’t benefit from IDE managed source code the way C++/Java does, are dominated by a market of “simple” editors that provide this sort of lightweight interface.  

Why Eclipse – what about the XXX IDE ?

After bouts with VI, Coda, BBEdit, and even (briefly) emacs, I finally settled on eclipse for the following reasons : 
  1. Its stable. 
  2. It works. 
  3. Its free.
  4. The Counterclockwise plugin is completely self installing.
  5. It “knows” java – so even if you don’t write a lot of java, you can easily have a mock java project for browsing through APIs and method names, just for fun, along side your clojure development environment.
  6. Eclipse doesn’t have to be heavy weight ! You can use it as a simple text editor if you follow the steps above. 


What about other plugins ? 

Well… lets see….
  1. NetBeans boasts the “Enclojure” plugin, but it doesn’t transparently and easily install in the latest netbeans (1.7).  I also found that, due to dependency conflicts, the Enclojure plugin doesn’t readily install even in the suggested version, 1.6.9
  2. IntelliJ is not 100% free, although La Clojure is.
  3. The beautiful TextMate is not free, although David Nolen’s plugin for Clojure in TextMate is free.  
  4. Coda 2 is not free, and although Coda used to support a “Clojure.Modes” plugin (i.e. fro SubEthaEdit), the new Coda is not backwards compatible.  Plus, its over 75$ and its not cross platform ! 
  5. Emacs + Slime ?  These are effective and well tested, but difficult to use if you come from the VI world.
  6. VIM ? The vim-eclipse plugin is effective — but do you really want to use it for large projects ?



Conclusion 

(= :happiness (+ :eclipse :counterclockwise :remote_mode))

BLOG

  • 06 Dec 2020
    Looking back at 2020 – with g...

    2020 has not been a year we would have been able to predict. With a worldwide pandemic and lives thrown out of gear, as we head into 2021, we are thankful that our community and project continued to receive new developers, users and make small gains. For that and a...

    Read more
  • 27 Apr 2020
    Update from the team

    It has been a while since we provided an update to the Gluster community. Across the world various nations, states and localities have put together sets of guidelines around shelter-in-place and quarantine. We request our community members to stay safe, to care for their loved ones, to continue to be...

    Read more
  • 03 Feb 2020
    Building a longer term focus for Gl...

    The initial rounds of conversation around the planning of content for release 8 has helped the project identify one key thing – the need to stagger out features and enhancements over multiple releases. Thus, while release 8 is unlikely to be feature heavy as previous releases, it will be the...

    Read more