Here are some of the more noteworthy things available in the Neon milestone build M3
which is now available for download.
We also recommend to read the Tips and Tricks, either via Help > Tips and Tricks... or online for
Platform,
JDT, and
PDE.
| Platform | |
| Hide the window toolbars |
You can use the Toggle Visibility of all Toolbars command (via Quick Access: Ctrl+3 or Command+3) to hide
all currently visible toolbars of the currently window. Selecting the command again, reveals these toolbars again.
This allows the developer to maximize the space
available for editors and views. If you minimize a stack after you selected this command,
the minimized stack will be visible until you trigger the command to hide the toolbars again. This allows
you to decide which minimized stacks are currently useful for you.
The following is a screenshot of the IDE with a maximized Java editor and several toolbars visible.
The next screenshot shows the same maximized editor but with hidden toolbars.
|
| Changes to the Eclipse workspace launcher |
The Eclipse workspace selection dialog wording was adjusted, as new Eclipse users reported that
usage of the term workspace was not well explained. The old text also implied that projects
need to be stored in the workspace, but that's not necessary.
The recent directory list was also increased to 10. It used to be 5. You can still adjust this value on Preferences > General > Startup and Shutdown > Workspaces. The reworked dialog looks like this:
|
| Improved menu support on GTK3 |
The SWT GTK3 port has received an update to its menus as part of the push to update SWT
to GTK3. Here are some of the notable changes.
Padding: By default, SWT menus now look similar to those in OS X: Text is not strictly aligned. This is due to a new way in which menus are constructed in GTK3 (see https://wiki.gnome.org/HowDoI/GMenu#Icons for more details). In order to align all text entries in a menu, simply launch the SWT application with the environment variable SWT_PADDED_MENU_ITEMS=1. Checkboxes and images: On GTK2.x, a menu entry was limited to either a checkbox or an image. On GTK3, SWT now supports menu entries that contain both an image and a checkbox. The image below shows a screenshot of the default GTK3 menu on the left, compared to an aligned GTK3 menu on the right.
|
| Ant 1.9.6 | Eclipse has adopted Ant version 1.9.6. |
| Platform Developers | |
| Support to create immovable Shells |
SWT has added a new style constant SWT.NO_MOVE to create a Shell with no move behavior. Using this style will create the
title trim even if no other trim style is specified. The title trim will not be created when SWT.NO_TRIM is specified.
Note that this style bit is a hint.
|
| JDT | |
| ifNotNull/ifNull templates |
The Java editor now offers default templates for creating "== null" and "!= null" checks.
|
| New problem severity level to indicate information |
You can now specify Info as a severity level for the problems detected by the Eclipse Java compiler.
|
| Equinox | |
| Adapters.adapt(...) API |
org.eclipse.core.runtime.Adapters.adapt(...) provides a new unified way to access every kind of adapter. It checks for
implemented interfaces, IAdaptable, and adapters registered with the adapter manager.
It may also activate plug-ins if necessary to provide the requested adapter.
And it also performs a null check on the source object, so calling code doesn't have to do that.
|
| SubMonitor.split |
org.eclipse.core.runtime.SubMonitor.split(...) is an easy, efficient way to check for Job cancellation without any
boilerplate. It creates a new child progress monitor, checks for cancellation, and
throws OperationCanceledException if necessary. Using this instead of SubMonitor.newChild
or SubProgressMonitor will guarantee that your Jobs respond to cancellation quickly.
|
| SUPPRESS_ISCANCELED |
SubMonitor.SUPPRESS_ISCANCELED allows you to suppress cancellation checks without
also suppressing progress reporting. This should be used in place of a null progress
monitor when running a critical section that shouldn't be cancelled.
|
The above features are just the ones that are new since the previous milestone build. Summaries for earlier Neon milestone builds: