ZRH New and Noteworthy 3.5 M2


JDT



Select comment with double click Double clicking on the beginning or end marker of a comment now selects the whole comment.

Open *.jardesc files with JAR Export Wizard Opening *.jardesc files now launches the JAR Export Wizard by default.

Open With > JAR Export Wizard

The Open JAR Packager... action in the context menu is gone.


Open test result files in JUnit view JUnit test result files from Eclipse or the Ant JUnit tasks can now be opened in the JUnit view via double click or via Open With > JUnit View.

Open With > JUnit View

If the files are not inside your workspace, you can still open them from the JUnit view via the Test Run History... drop-down menu. And the Import... and Export... action now always start at the most recently used location.

Test Run History... > Import


JUnit 4.5 The JUnit4 version shipped with Eclipse has been updated to 4.5. See their Release Notes for the changes in version 4.5.

Compiler problem for missing synchronized modifier The compiler now issues a warning when a method overrides a synchronized method but the method itself is not synchronized.

Problem hover with quick fix for missing synchronized modifier

You can use the quick fix to add the synchronized modifier, and you can configure the problem severity on Preferences > Java > Compiler > Errors/Warnings in the Potential programming problems section.

Suppress compiler problem for 'switch' case fall-through The compiler problem for expected fall-throughs in switch case statements can now be suppressed by preceding the following case statement with a comment that starts with $FALL-THROUGH$. This is especially interesting for code that can't use the J2SE-5.0-style @SuppressWarnings("fallthrough") annotation.

Problem hover with quick fixes for switch case fall-through

This problem is not reported by default. You can enable the 'switch' case fall-through warning on Preferences > Java > Compiler > Errors/Warnings in the Potential programming problems section.