|
|
Organizing workspace with many projects |
Use Show > Working Sets in the
Package Explorer's view menu to enable a new mode that shows working
sets as top level elements. This mode makes it much easier to manage
workspaces containing lots of projects.
Use Select Working Sets from the Package Explorer's view menu to configure which working sets get shown. The dialog lets you create new Java working sets, define which working sets are shown and in what order. Working sets can also be rearranged directly in the Package Explorer using drag and drop and copy/paste. |
|
|
Improved source folder page for new Java project wizard |
An improved source folder configuration page in the Java project creation wizard assists you in creating projects from existing source. You can define source folder entries, include/exclude folders directly on the tree, and test the results of your action right away. |
|
|
Sharing Java project settings |
Each Java project can carry custom
settings for compiler options and code style. These settings are
stored in the project itself, and automatically applied when the
project is loaded (or updated) from the repository.
Modifying the settings of a Java project via the UI automatically writes the settings to a file in the .settings directory. (The contents of the setting file are auto-generated, and not intended to be edited directly). |
|
|
New Quick Assists |
Several Quick Assists (Ctrl+1) have been
added to the Java Editor:
|
|
|
Refactoring Undo/Redo available from Edit menu |
Refactoring Undo/Redo is now available from the Edit menu, and the separate Refactor Undo/Redo actions have been removed from the global menu bar. Additionally, refactoring Undo/Redo operations are now integrated with the Java editor Undo/Redo, resulting in a more transparent undo story in the editor. For example, a refactoring triggered from within the editor is now undoable in the editor by simply pressing Ctrl+Z. |
|
|
New Eclipse default built-in formatter profile |
Although Eclipse's default 3.0 code formatter profile was named "Java Conventions", formatting a file using this profile used tabs for indentation rather than spaces. In 3.1, A new default profile, named "Eclipse" has been added, that matches the default formatter options in previous releases (and thus uses tabs for indentation). To use settings that match the current, generally accepted Java conventions, simply switch the formatter profile to "Java Conventions" using the Java > Code Style > Formatter preference page. |
|
|
Rerun failed tests first |
There's a new action in the JUnit view that allows you to rerun failing tests before any of the ones that were passing. |
|
|
Debugging locks and deadlocks |
The locks owned by a thread as well as the lock a thread is waiting for can both be displayed inline in the Debug view by toggling the Show Monitors menu item in the Debug view drop-down menu. Threads and locks involved in a deadlock are highlighted in red. |
Breakpoint organization |
The Breakpoints view allows breakpoints to be grouped by type, project, file, or working sets, and supports nested groupings. You can use breakpoint working sets to group breakpoints into problem-specific sets that can be quickly enabled and disabled as a whole. Newly-created breakpoints are automatically placed into the default breakpoint working set (displayed in bold). You can copy and paste or drag and drop breakpoints between breakpoint working sets, and a breakpoint can be placed in more than one breakpoint working set. |
|
|
Navigating stack traces |
Copy and paste a stack trace into the Java Stack Trace Console and use hyperlinks to navigate the trace. The Java Stack Trace Console can be opened from the Open Console drop-down menu in the Console view. Pasted stack traces can be formatted via the standard Format key binding. |
|
|
New features in the Debugger Variables view |
Several enhancements have been made to the Variables view, including:
|
|