| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html xmlns="http://www.w3.org/1999/xhtml"> |
| <head> |
| <meta http-equiv="Content-Language" content="en-us" /> |
| <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> |
| <link rel="stylesheet" href="default_style.css" type="text/css" title="main" media="screen" /> |
| <title>Eclipse 3.8 and 4.2 M7 News</title> |
| </head> |
| <body> |
| <h1>Eclipse 3.8 and 4.2 M7 - New and Noteworthy</h1> |
| <p>The <a href="http://wiki.eclipse.org/Juno">Juno</a> annual release is almost upon us! Here are some of the |
| more noteworthy things available in milestone build M7 |
| (May 4, 2012) which is now available for <a href="http://download.eclipse.org/eclipse/downloads/" target="_top">download</a>. |
| Unless otherwise indicated, all entries listed here are available in both the 3.8 and 4.2 development streams.</p> |
| <ul> |
| <li><a href="#Platform">Platform</a></li> |
| <li><a href="#JDT">JDT</a></li> |
| </ul> |
| |
| <table class="news" border="0" cellpadding="10" cellspacing="0" width="80%"> |
| |
| <tr id="new-icon"> |
| <td class="title">New high resolution icon</td> |
| <td class="content"> |
| The Eclipse SDK now has a shiny new icon. The icon is now in high resolution, making |
| for a much more polished appearance on modern operating systems. |
| <p><img src="images/icon.png" alt="New Eclipse icon"/></p> |
| </td> |
| </tr> |
| |
| <tr id="lightweight-refresh"> |
| <td class="title">Lightweight refresh enabled by default (4.2 only)</td> |
| <td class="content"> |
| In Eclipse 3.7 a new lightweight refresh mechanism was introduced. Files discovered to be out-of-sync |
| by the workspace, for example while accessing the file content by an editor, |
| are automatically asynchronously refreshed. In Eclipse 3.7 and 3.8 you have to enable this yourself |
| via <b>Preferences > General > Workspace</b> and select <b>Refresh on access</b>. |
| In Eclipse SDK 4.2 the mechanism is enabled by default. |
| <p><img src="images/lightweight_refresh_by_default.png" alt="Lightweight refresh enabled by default"/></p> |
| </td> |
| </tr> |
| |
| <tr id="fullscreen"> |
| <td class="title">Support for MacOS X Full Screen</td> |
| <td class="content"> |
| A new <b>Window > Toggle Full Screen</b> command is now supported on MacOS X Lion. |
| </td> |
| </tr> |
| |
| <tr id="trim-dragging"> |
| <td class="title">Trim dragging (4.2 only)</td> |
| <td class="content"> |
| We have finally re-introduced the ability to drag some of the window trim elements around. |
| For example, you can drag minimized stacks to different edges of the main window. |
| <p><img src="images/trim-dragging.png" alt="Trim dragging"/></p> |
| </td> |
| </tr> |
| |
| <tr id="trim-styling"> |
| <td class="title">Trim styling (4.2 only)</td> |
| <td class="content"> |
| In the new window trim implementation, the drag handle and the frame surrounding the trim are |
| defined through CSS. Here's an example of what this looks like: |
| <pre> |
| .MToolControl.TrimStack { |
| frame-image: url(./winXPTSFrame.PNG); |
| handle-image: url(./winXPHandle.PNG); |
| frame-cuts: 5px 1px 5px 16px; |
| } |
| </pre> |
| <p><tt>frame-image</tt> and <tt>handle-image</tt> define the images to be used to draw the frame. |
| The <tt>frame-cuts</tt> attribute is a set of 4 integer values that are used to divide the <tt>frame-image</tt> |
| into specific areas by defining two widths and two heights (the third is just the image size minus the |
| sum of the other two. This allows us to determine what part of the image to use for the top/right corner.</p> |
| <p>Here is a more interesting example that illustrates the power this gives to applications to customize their appearance:</p> |
| <p><img src="images/trim-styling.png" alt="Trim styling"/></p> |
| </td> |
| </tr> |
| |
| <tr id="css-theme-event"> |
| <td class="title">CSS-based Theme changed event (4.2 only)</td> |
| <td class="content"> |
| An OSGi EventAdmin-based event is now raised on theme-change |
| (<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=369443">bug |
| 369443</a>). |
| </td> |
| </tr> |
| |
| <tr id="css-extension-points"> |
| <td class="title">Changes to CSS Extension Points (4.2 only)</td> |
| <td class="content"> |
| For those providing extensions for the new CSS support, |
| the extension points for providing property handlers and |
| element providers have been renamed to |
| <tt>org.eclipse.e4.ui.css.core.propertyHandler</tt> and |
| <tt>org.eclipse.e4.ui.css.core.elementProvider</tt> |
| (respectively). |
| </td> |
| </tr> |
| |
| <tr id="ant-1-8-3"> |
| <td class="title">Ant updated to 1.8.3</td> |
| <td class="content"> |
| The bundled version of Apache Ant in the platform has been updated to version 1.8.3. |
| <p>For more information on what is new in Ant 1.8.3 please see the Apache Ant <a href="http://apache.claz.org//ant/README.html">release notes</a>.</p> |
| </td> |
| </tr> |
| |
| <tr id="add-buildfiles-dialog"> |
| <td class="title">Add all known buildfile types to Ant view</td> |
| <td class="content"> |
| The <b>Buildfile Selection</b> dialog for the <b>Ant</b> view has been updated to allow filtering |
| for all known kinds of build files rather than just <em>*.xml</em> and <em>build.xml</em>. |
| <p><img src="images/add-buildfiles.png" alt="The Add Buildfiles dialog"/></p> |
| </td> |
| </tr> |
| |
| <tr id="debug-tracing"> |
| <td class="title">Debug tracing</td> |
| <td class="content"> |
| JDT and Platform Debug have added all debug tracing settings to the <b>Tracing</b> preference page where they can be enabled and disabled as needed without restarting. |
| <p><img src="images/debug-trace.png" alt="Debug tracing options"/></p> |
| </td> |
| </tr> |
| |
| <tr id="bp-view-sorting"> |
| <td class="title">Breakpoint view sorting</td> |
| <td class="content"> |
| The <b>Breakpoints</b> view now has improved sorting that will take into account any line |
| numbers that appear in the label and sort accordingly. |
| <p><img src="images/bp-sorting.png" alt="Breakpoint view sorting"/></p> |
| </td> |
| </tr> |
| |
| <tr> |
| <td colspan="2" class="section" id="JDT">JDT</td> |
| </tr> |
| |
| <tr id="content-assist-package-info"> |
| <td class="title">Content assist in package-info.java</td> |
| <td class="content"> |
| Content assist (<b>Ctrl+Space</b>) is now available inside package-info.java, which is used to declare package-level annotations and Javadocs. |
| <p><img src = "images/content-assist-pkg-info.png" alt = "Content assist popup to add package-level annotations on package declaration"/></p> |
| </td> |
| </tr> |
| <tr id="enhanced-switch-diagnostics"> |
| <td class="title">Enhanced diagnostics for detection of incomplete switch statements</td> |
| <td class="content"> |
| JDT now provides additional configurable diagnostics to flag an incomplete switch statement. |
| <p><img src = "images/switch-new-warnings.png" alt = "Compiler Errors/warnings preference page with new switch diagnostic options highlighted"/></p> |
| <p> When you enable the option <b>Preferences > Java > Compiler > Errors/Warnings > Switch is missing default case</b>, JDT will flag switch statements with a missing default |
| case, because such a switch statement can e.g. result in variables left uninitialized.</p> |
| <p><img src="images/switch-missing-default.png" alt="Warning on switch with missing default case"/></p> |
| <p> When you enable the sub-option <b>Preferences > Java > Compiler > Errors/Warnings > Signal even if default case exists</b> for the <b>Incomplete switch cases on enum</b> option, |
| JDT will flag switch statements over an enum type which may have an enum value covered only through a default statement, but not directly through a case |
| statement. When new enum constants are added, this option will help in detecting the switch statements that do not cover the new value.</p> |
| <p><img src="images/switch-missing-case-enum.png" alt="Warning on switch with missing case statement for enum value even though default is present"/></p> |
| </td> |
| </tr> |
| <tr id="bracket-matching"> |
| <td class="title">Bracket matching improvements in Java editor</td> |
| <td class="content"> |
| So far, a matching bracket was found when the caret was placed immediately after a bracket. Now, |
| a matching bracket is found both when the caret is placed either immediately before or immediately after a bracket. |
| <p><img src="images/matching-bracket.png" alt="Matching bracket examples"/></p> |
| |
| <p>You can hover over a closing curly brace and see the source near the matching opening brace in a hover. |
| This is helpful when you want to see the code near the start of a long code block. The hover also tells the number of lines in the code block.</p> |
| <p><img src="images/bracket-hover-1.png" alt="Bracket hover example 1"/></p> |
| <p>The hover is also useful to temporarily 'highlight' a short code block.</p> |
| <p><img src="images/bracket-hover-2.png" alt="Bracket hover example 2"/></p> |
| </td> |
| </tr> |
| |
| <tr id="junit-4-10"> |
| <td class="title">JUnit 4.10</td> |
| <td class="content"> |
| The JUnit 4 version shipped with Eclipse has been updated to <a href="https://github.com/KentBeck/junit/blob/r4.10/doc/ReleaseNotes4.10.txt">4.10</a>. |
| </td> |
| </tr> |
| <tr> |
| <td colspan="2"> </td> |
| </tr> |
| </table> |
| <p>The above features are just the ones that are new since the previous milestone |
| build. Summaries for earlier Juno milestone builds:</p> |
| <ul> |
| <li><a href="http://download.eclipse.org/eclipse/downloads/drops4/S-4.2M6-201203151300/eclipse-news-M6.html">New for Eclipse Juno milestone build M6 (March 16, 2011)</a></li> |
| <li><a href="http://download.eclipse.org/eclipse/downloads/drops4/S-4.2M5-201201271145/eclipse-news-M5.html">New for Eclipse Juno milestone build M5 (January 27, 2012)</a></li> |
| <li><a href="http://download.eclipse.org/eclipse/downloads/drops4/S-4.2M4-201112092100/eclipse-news-M4.html">New for Eclipse Juno milestone build M4 (December 9, 2011)</a></li> |
| <li><a href="http://download.eclipse.org/eclipse/downloads/drops4/S-4.2M3-201110281100/eclipse-news-M3.html">New for Eclipse Juno milestone build M3 (October 28, 2011)</a></li> |
| <li><a href="http://download.eclipse.org/eclipse/downloads/drops4/S-4.2M2-201109161615/eclipse-news-M2.html">New for Eclipse Juno milestone build M2 (September 16, 2011)</a></li> |
| <li><a href="http://download.eclipse.org/eclipse/downloads/drops/S-3.8M1-201108031800/eclipse-news-M1.html">New for Eclipse Juno milestone build M1 (August 5, 2011)</a></li> |
| </ul> |
| </body> |
| </html> |