Skip to main content
Jump to: navigation, search

Difference between revisions of "CDT/User/NewIn70"

< CDT
Line 1: Line 1:
 +
[[Image:Cdt_logo_with_name.jpg|thumb|200px| New CDT logo]]
 +
 
== Editor  ==
 
== Editor  ==
  

Revision as of 02:59, 6 June 2010

New CDT logo

Editor

  • The new Sort Lines command that sorts selected lines alphabetically.
  • Surround with menu [Bug 289339]

CDTSurroundwith.png

CDTTemplates.png

  • Grouping of macro definitions in the Outline view. [Bug 233390]

CDTOutlinegroupmacros.png

Refactoring

  • Allow to decide where to place getters and setters [Bug 285375]
  • Refactoring-History for the CDT Refactorings [Bug 282843]

CDTRefactoringhistory.png

Debug

  • Support for GDB tracepoints. See the wiki page for details.
  • Default debugger now using different debugging framework called DSF. It provides better support for newer gdb version, such as 6.8 and 7.x, for older version you would have to edit preferences to use old framework (CDI) by default. See full list of DFS features here.

Build

  • Compiler errors and warnings highlighting in build console. Navigation from errors in build console to location in editor, [Bug 295625]

CDT ConsoleProblemHighlighting.png

  • Regular Expression Error Parser. Can be used to parse errors from non-standard compilers, [Bug 109139]

CDT RegexErrorParser.png

  • Ability to save build log to a file, [Bug 306222]

CDT SaveLog.png

  • New keyboard bindings "Run Last Make Target" F9/Shift-F9, [Bug 69922]

CDT LastMakeTarget.png

  • Organized project context menu related to build, [Bug 309579] . Reworked "Build Selected Configurations" dialog, [Bug 230185]

CDT ProjectContextMenu.png CDT BuildSelected.png

  • Organized build preferences under "Build" page, [Bug 289169] .

CDT BuildPreferences.png

CDT NewIcons70.png

  • Better algorithms to recognize MinGW and Cygwin toolchains, [Bug 303900], [Bug 195572]
  • When a Hello World project is created, open generated file automatically, [Bug 301732]
  • Allow saving files while external Makefile builds are in progress
  • Headless Builder has been improved: supports configuration selection; returns error code if built projects have error markers
  • ManagedBuild GCC toolchain supports pre included header files (-include switch to gcc) [Bug 115601]

Core

  • CDT Project References can be ordered. Referenced paths and symbols automatically track this order.
  • References to library projects are automatically linked in [76407]
  • A configuration can reference another configuration in the same project [291887]

Code Analysis

New code analysis framework is introduced, called Codan. See this wiki for details. It comes with few checkers:

  • Return inconsistencies
  • Code has no effect
  • Possible assignment instead of comparison
  • Catching exception by value
  • Non-virtual destructor
  • Function name style-check

UPC

Known Limitations

  • Cannot run or debug class in a project with GB18030 characters in workspace/project name.  Most class libraries do not properly support the creation of a system process (via java.lang.Runtime.exec(...)) when the specified command line contains GB18030 characters. This limitation means the scanner discovery mechanism and debugger cannot launch applications when the command line it generates contains GB18030 characters. Details in [Bug 308803]

Bugs Fixed in this Release

Fixed in CDT 7.0

Back to the top