Eclipse 3.2M3の有用な機能

http://download.eclipse.org/eclipse/downloads/drops/S-3.2M3-200511021600/eclipse-news-M3.html

Eclipse3.2M3がリリースされたので、使えそうな機能をピックアップしてみました。

Clean Up wizard

The Clean Up wizard lets you apply multiple code cleanups to a Java class, package, or entire Java project. For instance, it's now possible to mark all overriding methods in a whole project with an @Override annotation with only two clicks. The Clean Up wizard is independent of the configured compiler errors. There are currently 10 different code cleanups available. More will come during the 3.2 release cycle.

不要なコードの削除機能は興味深いですね。コードレビュー時に困るのがこの不要なコード群です。不要なコードを徹底的に削除することを徹底していけば、最終的にはよい習慣が身につき、ミニマムなコードを維持できるかもしれません。運用方法を考えれば、案外使えそうです。

Problems View supports hierarchal mode

The Problems View can now display problems hierarchically as well as flat. The Sorting menu option in the view controls how the hierarchy is arranged. Categories with only a single entry are collapsed so as to minimize the depth of the tree.

今までのProblems Viewでは、警告が表示されたときに該当箇所がViewから判断できなかったのですが、これでどのクラスにどんな問題があるのか一覧できるようになります。これはいいですね。

Completion in Javadoc comments, Context-aware completion in Javadoc

JavaDoc系の補完が効くようになるので、文書書きが楽になりますね。