开发者

How to use emacs as my JAVA IDE?

I would like to use ema开发者_如何学编程cs instead of Netbeans which gets too bloated on my computer. I already have JDEE, I did not dig it, but it looks like it lacks:

  • Classes testing : run a class which has a main method, but which is not the main class of the project
  • Maven integration : this is a minor wish as Netbeans doesn't support maven that well too.


I recommend you to use malabar-mode instead of JDEE - malabar is the only modern mode for Java development currently available for Emacs. It offers:

  • Tight integration with Maven

  • A Groovy console for rapid prototyping and exploratory programming

  • JUnit integration, both for running tests standalone and through Maven

  • Import help; import one class or all needed classes in the buffer (with prompting if the class name is ambiguous)

  • Extend class / implement interface / override method helpers

  • Simplistic refactorings


For Maven look to ede-proj-maven2 (inherited from ede-generic) in current CEDET from CVS. It's simple, but does some job. I plan to look to it in the near future, because I use Maven very often with Clojure.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜