| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <html lang="en"> |
| <head> |
| <meta name="copyright" content="Copyright (c) IBM Corporation and others 2007,2009 This page is made available under license. For full details, see the LEGAL section in the documentation that contains this page."> |
| |
| <meta http-equiv="Content-Language" content="en-us"> |
| <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> |
| <link rel="STYLESHEET" href="../book.css" type="text/css"> |
| <style> |
| td {border-top: solid thin black;} |
| img[alt] {} |
| tr {vertical-align: top;} |
| </style> |
| <title>CDT 6.0 New and Noteworthy</title> |
| </head> |
| <body> |
| <div role="main"> |
| <h1 id="top">CDT 6.0 - New and Noteworthy</h1> |
| <p>Note: "New and Noteworthy" for <a href="#5.0">previous versions</a> is at the bottom of this file.</p> |
| <p>See <a href="http://wiki.eclipse.org/CDT/User/NewIn60">What's new in CDT 6.0</a> on the CDT wiki; |
| may contain other information. |
| </p> |
| |
| <table cellpadding="10" cellspacing="0" width="600"> |
| <colgroup> |
| <col width="20%"> |
| <col width="80%"> |
| </colgroup> |
| <tbody> |
| <p><!-- ******************** Editor ********************** --> |
| <tr> |
| <td colspan="2"><a name="Editor"></a> |
| <div class="title">Editor</div> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p style="text-align:right"><span class="bold">Rename in File</span></p> |
| </td> |
| <td>To make rename refactoring work interactively in the editor, |
| position the cursor on an identifier in the editor and hit Ctrl-1 |
| (the hotfix key). Choose "Rename in file." |
| Changing an identifier simultaneously changes all other references to that identifier. |
| <p><img src="../images/60/RenameInFile.png" alt="Rename in File"> |
| </td> |
| </tr> |
| |
| <tr> |
| <td> |
| <p style="text-align:right"><span class="bold">Refactoring</span></p> |
| </td> |
| <td>"Extract local variable" is added via editor context menu. |
| Select an expression in the editor and select Refactor > Extract local variable |
| from the context menu. |
| <p><img src="../images/60/refactor_before.png" alt="refactor"></p> |
| <p><img src="../images/60/refactorExtractLocalVar.png" alt="refactoring context menu highlighting 'extract local variable'"> |
| <p>Give the new local variable a name</p> |
| <p><p><img src="../images/60/refactor_varname.png" alt="refactor"></p></p> |
| A local variable is created from the expression and its |
| use is inserted in the original expression. |
| <p><img src="../images/60/refactor_after.png" alt="refactor"></p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p style="text-align:right"><span class="bold">Add Include </span></p> |
| </td> |
| <td>Add Include significantly improved. |
| <ul> |
| <li>CDT can infer the header file of a function or class from its use and automatically insert the appropriate |
| #include directive. For example create a file with a main method and a call to printf. Right click on the call to |
| printf and select Source > Add Include. CDT will infer that printf is defined in the cstdio header and |
| automatically insert the #include directive for that header. |
| <ul> |
| <li>This feature works much better in CDT 6.0.</li> |
| </ul> |
| </li> |
| </ul> |
| |
| <!-- <p><img src="../images/60/image.png" alt="alternate text for image for accessibility"> --> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p style="text-align:right"><span class="bold">Outline View</span></p> |
| </td> |
| <td> |
| <ul> |
| <li>Inactive code is shown in Outline View. The CDT parser can now detect top-level declarations within |
| inactive code blocks and display them in the outline view. Inactive declarations appear slightly greyed out and the |
| icon has a slash through it. |
| <p><img src="../images/60/CDT6.0_inactive_code_outline.png" alt="Inactive code in Outline View"> |
| <p> </p> |
| </li> |
| <li>Grouping of method definitions in the Outline view. |
| <p></p> |
| The outline view is now capable of displaying class members defined outside the class in the same way it displays |
| members defined inside the class. |
| <p></p> |
| This feature can be turned on/off in the preferences. |
| <p><img src="../images/60/CDT6.0_outline_group_methods2.png" alt="Grouping of method definitions in the Outline view"> |
| <p> </p> |
| <p><img src="../images/60/CDT6.0_group_methods_prefernce2.png" alt="Method definitions grouping preference"> |
| <p> </p> |
| </li> |
| </ul> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p style="text-align:right"><span class="bold"> Macro Exploration </span></p> |
| </td> |
| <td>Improved Macro Exploration control. |
| <ul> |
| <li>The Macro Expansion hover now has a toolbar at the bottom of the control with back, forward and open |
| declaration buttons.</li> |
| <li>The title bar of the Macro Expansion hover is now draggable. |
| <p><img src="../images/60/CDT6.0_macro_hover.png" alt="Macro Expansion hover toolbar"></p></li> |
| </ul> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p style="text-align:right"><span class="bold">Block selection mode </span></p> |
| </td> |
| <td>Block selection mode now works in the CDT editor. |
| <p><img src="../images/60/CDT6.0_block_mode.png" alt="Block selection mode in editor"> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p style="text-align:right"><span class="bold">C style block commenting</span></p> |
| </td> |
| <td>C style block commenting (Ctrl-Shift-/) improved |
| <!-- <p><img src="../images/60/image.png" alt="alternate text for image for accessibility"> --> |
| </td> |
| </tr> |
| |
| <!-- ******************** Indexing ********************** --> |
| <tr> |
| <td colspan="2"><a name="Indexing"></a> |
| <div class="title">Indexing</div> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p style="text-align:right"><span class="bold">Implicit references and overloaded operators</span></p> |
| </td> |
| <td> |
| <p></p> |
| Index support for implicit references and overloaded operators: |
| <ul> |
| <li>The indexer now picks up references for uses of overloaded operators.</li> |
| <li>The editor now has full support for overloaded operators including semantic highlighting, mark occurrences |
| and open declaration. |
| <p><img src="../images/60/CDT6.0_OO_editor.png" alt="Overloaded operators support in editor"> |
| <p> </p> |
| </li> |
| <li>A category has been added to the syntax highlighting options for overloaded operators. |
| <p><img src="../images/60/CDT6.0_OO_syntax_preferences.png" alt="Overloaded operators syntax color option in preference"> |
| <p> </p> |
| </li> |
| <li>It is now possible to search for references to overloaded operators. |
| <p><img src="../images/60/CDT6.0_OO_search.png" alt="Overloaded operators in search results"> |
| <p> </p> |
| </li> |
| <li>Uses of overloaded operators now show up in the call hierarchy view. |
| <p><img src="../images/60/CDT6.0_OO_callh2.png" alt="Overloaded operators in call hierarchy view"> |
| <p> </p> |
| </li> |
| <li>The indexer is picking up more information to support this feature, therefore indexing time may be longer |
| and the size of the index file will be larger. For this reason the indexer options page provides the option to turn |
| off the collection of implicit references. |
| <p><img src="../images/60/CDT6.0_OO_indexer_preferences.png" alt="Skip implicit references option in indexer preference"> |
| <p> </p> |
| </li> |
| </ul> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p style="text-align:right"><span class="bold">System Includes</span></p> |
| </td> |
| |
| |
| <td> |
| <ul> |
| <li>Heuristics to pick up otherwise unresolved include files from the project |
| <p>In older versions of CDT the user was forced to manually set up all include paths that were not discovered by |
| the build system. Now CDT is capable of automatically finding any header file that is located within the project |
| without manual setup. |
| <p>(See <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=213562">Bug 213562</a>)</p> |
| <p> </p> |
| </li> |
| </ul> |
| </td> |
| </tr> |
| |
| <td> |
| <p style="text-align:right"><span class="bold">Indexer Accuracy</span></p> |
| </td> |
| <td> |
| <ul> |
| <li>Rework of template instantiation |
| <p> |
| There have been significant improvements to the CDT editor for supporting C++ templates. Content assist now works |
| much better within code that makes heavy use of templates.</p> |
| <p> </p> |
| <li> |
| There have been numerous improvements to the performance and accuracy of the CDT parser and indexer.</li> |
| </ul> |
| </td> |
| </tr> |
| <!-- ******************** Navigation and Search ********************** --> |
| <tr> |
| <td colspan="2"><a name="navAndSearch"></a> |
| <div class="title">Navigation and Search</div> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p style="text-align:right"><span class="bold">Open Declaration</span></p> |
| </td> |
| <td>Open Declaration (F3) improved, particularly for unresolved symbols. |
| <p>Open Declaration is capable of detecting potential matches.</p> |
| <p><img src="../images/60/CDT6.0_open_declaration.png" alt="Improved open declaration for unresolved symbols"> |
| <p>It is now possible to navigate from a delete statement to the destructor method that is implicitly called.</p> |
| <p><img src="../images/60/CDT_6.0_delete.png" alt="Delete statement navigation"> |
| </td> |
| </tr> |
| |
| <!-- ******************** Project and Build ********************** --> |
| <tr> |
| <td colspan="2"><a name="projAndBuild"></a> |
| <div class="title">Project and Build</div> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p style="text-align:right"><span class="bold">Converters</span></p> |
| </td> |
| <td> |
| <ul> |
| <li>Added a converter to convert a general project to a Managed make project</li> |
| <li>Fixes to Makefile converter</li> |
| </ul> |
| </td> |
| </tr> |
| |
| <tr> |
| <tr> |
| <td> |
| <p style="text-align:right"><span class="bold">Working Sets</span></p> |
| </td> |
| <td> |
| <ul> |
| <li>Complete overhaul of the user interface for Working Set Configurations: |
| <ul> |
| <li>Updated Manage Working Set Configurations dialog for simpler workflows</li> |
| <li>Quick access to configurations via a property page for Working Sets |
| <br></br><img src="../images/60/New_cdtwsconfig_wsProperties.png" alt="New working set configuration dialog"> |
| <p> </p> |
| |
| </li> |
| <li>Context menu actions on Working Sets in the Project Explorer for activating and building configurations |
| <p><img src="../images/60/New_cdtwsconfig_wsContextMenu.png" alt="Activating and building working set configurations through context menu"></p> |
| |
| </li> |
| <li>For more details, see the <a href="http://wiki.eclipse.org/CDT/designs/workingSets">working sets |
| design document</a></li> |
| </ul></li> |
| </ul> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p style="text-align:right"><span class="bold">Make Targets View</span></p> |
| </td> |
| <td> |
| <ul> |
| <li>Icons, menu and dialogs have been enhanced. Build action uses hammer icon for consistency with project |
| build icon in editor toolbar. |
| <p><img src="../images/60/MTV.png" alt="Make Targets View"> |
| <p> </p> |
| </p> |
| </li> |
| <li>Drag and Drop of Make Targets in Make Targets View. It is possible to copy/paste, drag files from Project |
| Explorer to the view, or Make Targets to external editor, various options available. |
| <p><img src="../images/60/MTV-DND.png" alt="Drag and Drop enabled in Make Targets View"> |
| <p> </p> |
| </p> |
| </li> |
| </ul> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p style="text-align:right"><span class="bold">Error and Problem management</span></p> |
| </td> |
| <td>ErrorParserManager has been significantly simplified and improved. See <a |
| href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=264715">bug 264715 </a>and its subtasks. |
| <ul> |
| <li>Uses a much more accurate algorithm for associating errors/warnings from build output with files in the |
| workspace.</li> |
| <li>Other C/C++ projects from the workspace are considered when looking for files.</li> |
| <li>RSE EFS projects and EFS resources are supported.</li> |
| <li>Improved performance.</li> |
| </ul> |
| <p><img src="../images/60/EPM-multi.png" alt="More accurate algorithm for associating errors/warnings from build output with files in the workspace"> |
| <p>In the <strong>Problems View</strong>, external file locations (outside of the workspace) have been moved to the Location |
| column and associated with "Open External Location" menu. |
| <p><img src="../images/60/PV-extloc.png" alt="Open External Location from context menu in Problems View"> |
| <ul> |
| <li>Remote Project Support |
| <ul> |
| <li>New <strong>ICommandLauncher interface</strong> supports overriding how build commands are launched.</li> |
| <li><strong>EFS resources</strong> now supported with Managed Build.</li> |
| </ul> |
| </li> |
| <li>XL C/C++ Compiler Support |
| <ul> |
| <li>The <strong>XL C/C++ Error Parser</strong> has been modernized. It can handle compiler errors/warnings better and |
| now also xlC linker warnings.</li> |
| <li><strong>XL C/C++ v10.1 option support</strong> in Managed Build</li> |
| <li><strong>XL UPC compiler</strong> support added.</li> |
| </ul> |
| </li> |
| <li><strong>Headless Build</strong> You can now Import and Build CDT Projects without starting the IDE.</li> |
| </ul> |
| |
| </td> |
| </tr> |
| |
| <!-- ******************** Debug and Launch ********************** --> |
| <tr> |
| <td colspan="2"><a name="debugAndLaunch"></a> |
| <div class="title">Debug and Launch</div> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p style="text-align:right"><span class="bold">DSF Integration</span></p> |
| </td> |
| <td>DSF (Eclipse Debugger Services Framework) integrated. See <a |
| href="http://www.eclipse.org/dsdp/dd/development/relnotes/dd_news-1.1.html">DSF features</a> for more information.</td> |
| </tr> |
| <tr> |
| <td> |
| <p style="text-align:right"><span class="bold">Launch Group</span></p> |
| </td> |
| <td> |
| <p>New "Launch Group" launch configuration. Allows to launch several processes at once.</p> |
| <p><img src="../images/60/Run_debug_launch_group.png" alt="Debug launch group"> |
| </td> |
| </tr> |
| <!-- ******************** Bugs fixed ********************** --> |
| <tr> |
| <td colspan="2"><a name="bugs60"></a> |
| <div class="title">Bugs fixed</div> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p style="text-align:right"><span class="bold">Bugs fixed</span></p> |
| </td> |
| <td>Bugs fixed in this release: |
| <a href="http://bugs.eclipse.org/bugs/buglist.cgi?query_format=advanced&short_desc_type=allwordssubstr&short_desc=&classification=Tools&product=CDT&target_milestone=6.0&long_desc_type=allwordssubstr&long_desc=&bug_file_loc_type=allwordssubstr&bug_file_loc=&status_whiteboard_type=allwordssubstr&status_whiteboard=&keywords_type=allwords&keywords=&bug_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED&resolution=FIXED&emailtype1=exact&email1=&emailtype2=substring&email2=&bugidtype=include&bug_id=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&cmdtype=doit&order=Reuse+same+sort+as+last+time&field0-0-0=noop&type0-0-0=noop&value0-0-0="> |
| CDT 6.0 bug fixes</a> |
| |
| </td> |
| </tr> |
| |
| <!-- ******************** NewTopic ********************** --> |
| <!-- |
| <tr> |
| <td colspan="2"><a name="NewTopic"></a> |
| <div class="title">Newtopic</div> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p style="text-align:right"><span class="bold">texthere</span></p> |
| </td> |
| <td>text here. |
| <p><img src="../images/image.png" alt="alternate text for image for accessibility"> |
| </td> |
| </tr> |
| --> |
| </tbody> |
| </table> |
| <p><a href="#top">Back to Top</a> <!-- ******************** CDT 5.0 info ********************** --> |
| <h1 id="5.0">CDT 5.0 - New and Noteworthy</h1> |
| <p>CDT 5.0 includes new features in Editor, Call Hierarchy, |
| Refactoring, Indexer, Projects & Build, and Debug. |
| <p> |
| See <a href="http://wiki.eclipse.org/CDT/User/NewIn50">What's New in CDT 5.0</a> on the CDT Wiki for more information including screen shots. |
| |
| <p>Highlights include: |
| |
| <h2>Editor</h2> |
| <ul> |
| <li>Code and File Templates - user-definable templates can be used in New Class and New Source/Header File wizards. |
| <li>New preference page for Code Templates |
| <li>Outline view for assembly files |
| <li>Code formatter improvements including new whitespace and line wrapping options, Improved GNU coding style compliance |
| <li>Content assist improvements |
| <li>Doxygen editor support - auto-generation of tags and a pluggable framework for other documentation tools is now available. |
| <li>Mark Occurrences - highlights where the selected identifier occurs elsewhere in the editor |
| <li>Folding of compound statements |
| <li>Macro Expansion hover and exploration tool |
| <li>Spell checking available and enabled by default |
| <li>Scalability mode for working with very large files. |
| <li>Visual Studio key bindings |
| |
| </ul> |
| <h2>Navigation and Search</h2> |
| <ul> |
| <li>Open Declaration for operators, empty macros, element in outline view, etc |
| <li>Open Element support for static functions/variables, other improvements |
| <li>Search - for Static functions/variables, macros, references of local variables, Search view usability improvements |
| </ul> |
| <h2>Call Hierarchy</h2> |
| <ul> |
| <li>Read/write decorators indicate read/write status for variables |
| <li>Polymorphic method calls (virtual methods) support |
| </ul> |
| <h2>Refactoring</h2> |
| <ul> |
| <li>Refactoring infrastructure much improved, models transformation on the AST |
| <li>Generate Getters and Setters |
| <li>Hide Method |
| <li>Implement Method |
| <li>Extract Constant |
| <li>Extract Function |
| </ul> |
| <h2>Indexer</h2> |
| <ul> |
| <li>Improved accuracy and performance |
| <li>Entirely new preprocessor |
| <li>Improved infrastructure |
| <li>Visual indication of indexer status |
| </ul> |
| <h2>Projects and Build</h2> |
| <ul> |
| <li>Project Properties improved usability |
| <li>Make target locations - make targets at the project level are built in the project build directory |
| </ul> |
| <h2>Debug</h2> |
| <ul> |
| <li>Executables view |
| <li>Event breakpoints - added gdb catchpoints support |
| </ul> |
| <p><a href="#top">Back to Top</a> |
| <p> </p> |
| |
| <p>To learn what's new in CDT releases see:</p> |
| <p><a href="cdt_c_whatsnew.htm">CDT - New and Noteworthy</a></p> |
| <p><a href="cdt_c_whatsnew_82.htm">CDT 8.2 - New and Noteworthy</a></p> |
| <p><a href="cdt_c_whatsnew_81.htm">CDT 8.1 - New and Noteworthy</a></p> |
| <p><a href="cdt_c_whatsnew_80.htm">CDT 8.0 - New and Noteworthy</a></p> |
| <p><a href="cdt_c_whatsnew_70.htm">CDT 7.0 - New and Noteworthy</a></p> |
| <p><a href="cdt_c_whatsnew_60.htm">CDT 6.0 - New and Noteworthy</a></p> |
| <p><a href="http://wiki.eclipse.org/CDT/User/NewIn50">CDT 5.0 - New and Noteworthy</a></p> |
| |
| </div> |
| </body> |
| </html> |
| |