CDT 4.0 includes new features in the editor, new code navigation tools, debugger enhancements, and other improvements.
Projects
New Project Creation
Now it's easier to create and configure a new CDT project:
Project Templates
Projects can be created from one of the available templates. Project templates include wizard pages that let you configure basic settings for new project code.
Editor
Semantic Highlighting
Identifiers in the source code can now be colored according to their role, e.g. typedefs, functions, variables, fields, etc.
Inactive Code Highlighting
Code being excluded by conditional compilation is marked with grey background.
Code Folding Improvements
Now you can collapse and expand blocks of comments and preprocessor branches in C and C++ files in addition to functions, structures, etc.
Code Formatter
A configurable code formatter with 4 predefined styles has been added:
Smart Typing
Typing assistance has been greatly improved. Options include automatic closing of brackets, smart paste and more:
Code Navigation Views
Include Browser
The Include Browser now lets you see the hierarchy of included headers in a source file.
Call Hierarchy
The Call Hierarchy view shows you who calls a function.
Type Hierarchy
The Type Hierarchy view shows you how C/C++ types are related.
Indexer Improvements
The indexer is greatly improved with more features and accuracy:
Debugger
GDB Hardware Debugging
The GDB Hardware Debugging feature provides a specialized debug launch configuration that allows you to start up GDB using CDT's GDB integration in a specialized manner that allows for sessions that connect to hardware debugging devices, such as JTAG and BDM, that support an integration with GDB. In particular it allows you to specify commands that are executed when GDB connects to the device, optionally specify an image to load onto the target, and specify commands that set up the target for execution.
Breakpoint Actions
You can now attach actions to a breakpoint. These are additional activities performed when a breakpoint is hit. CDT 4.0 comes with four standard actions that: play a sound, log text to an expression to the console, resume execution, or run an external tool.
Contextual Launch Support
CDT 4.0 now takes advantage of the contextual launch support in Eclipse 3.3 to make the run and debug commands just "do the right thing" for C/C++ projects.
Just click the Debug button to start a debug session instead of manually creating a launch configuration.
Locating Source Files
When the debugger can't find a source file using the path in the symbol table it now lets you locate it directly instead of having to configure a source lookup path.
Other Improvements
Project Build Button
The toolbar now includes a button that builds the active configuration of the selected project. It's menu lets you quickly build another configuration.
MinGW Toolchain Integration
Support for the GNU toolchain on Windows now specifies two separate toolchains Cygwin and MinGW. The MinGW toolchain integration automatically detects the location of your MinGW install and sets the paths appropriately.
MinGW tool chain for new projects:
MinGW debugger launch configuration:
Task Tags
The Task View now includes entries based on tags in your C/C++ source files.
Task Tag options:
IBM XL C/C++ Toolchain Integration
If you install the optional CDT feature "XL C/C++ Compiler Support," xlc and xlC toolchain integration is available. Then when you create a new project, the XLC project types are available for selection.
xlC compiler options are available in the project properties:
UPC Support
If you install the optional CDT feature "Unified Parallel C Support," the Unified Parallel C programming language is supported in the editor. After installing the feature, you can create a source file with extension ".upc" and the UPC language constructs are recognized.
分享到:
相关推荐
cdt-master-8.0.1.part1.rar cdt-master-8.0.1.part1.rar cdt-master-8.0.1.part1.rar
本文将详细介绍`cdt-master-8.0.0.zip`这一版本的CDT及其包含的组件和功能。 首先,`cdt-master-8.0.0.zip`是一个压缩包,包含了CDT 8.0.0版本的所有源码和资源。这个版本的CDT针对Eclipse平台进行了优化,提供了...
cdt-master-8.1.0 cdt-master-8.1.0.part2.rar
【标题】"cdt-master-8.1.2" 是一个开源项目,它与Java编程语言密切相关,并且是Eclipse SDK平台的一个重要组成部分。这个项目的版本号为8.1.2,表明它是经过多次迭代和改进后的成熟产品。 【描述】中提到,"cdt-...
中龙通 CDT-1BB2-00 CMMB 模块 中龙通 CDT-1BB2-00 CMMB 模块
在本教程中,我们将详细讨论如何使用Eclipse CDT搭建C/C++的开发环境,以及"cdt-master-7.0.2"版本中的关键特性。 1. **Eclipse CDT安装**: - 首先,确保你已经下载了Eclipse IDE的基础版本,通常称为"Eclipse ...
cdt-master-8.0.2
cdt-master
这是Eclipise CDT 2021-03版自动完成支持插件,将org.eclipse.cdt.ui_7.2.0.202106050127.jar复制到eclipse安装目录的plugins目录下,覆盖同名文件即可
Eclipse CDT(C/C++ Development Tooling)是Eclipse集成开发环境(IDE)的一个重要插件,专门用于C和C++的开发。2023-03版本的发布为开发者提供了最新的功能和改进,以提升C/C++编程体验。这个版本适用于Windows 64...
cdt-master-8.1.0.part1.rar
标题中的"736_CDT3-MS2-40_18_50-F1XB11HHUMWW"是一系列特定的标识符,通常用来区分不同的液压缸型号和规格。 首先,"CDT3"可能指的是液压缸的系列或设计代号,它代表了该产品的特定设计特征,比如材料、结构或者...
在"cdt-master-8.0.2.zip"这个压缩包中,包含了CDT Master 8.0.2版本的所有组件,为用户提供了高效且功能丰富的C/C++编程体验。下面将详细介绍这个插件的主要特性和使用场景。 首先,Eclipse CDT的核心特性之一是其...
标题中的“单杆液压缸736_CDT3-MS2-40_18_50-F1XB11HHUMWW.step.7z”指的是一个特定类型的液压设备,即单杆液压缸,它的型号为736,并且带有特定的参数标识。CDT3可能是制造商或系列代码,MS可能代表该液压缸的设计...
标题中的"eclipse-cdt 插件cdt-9.2.1.zip"指的是Eclipse CDT的9.2.1版本的插件包,以ZIP格式压缩。这个版本可能包含了对Eclipse IDE的特定优化和改进,特别是针对Neon版本的Eclipse。Eclipse Neon是一个历史悠久的...
标题中的"org.eclipse.cdt-3.1.1-linux.x86.tar.gz"是指Eclipse CDT(C/C++ Development Tools)的一个特定版本,适用于Linux平台的32位系统。CDT是Eclipse IDE的一个扩展,它为C和C++程序员提供了一套完整的开发...
2008年 Eclipse 官方公布的安装 CDT 插件所需包。匹配于 Eclipse3.4.* 系列,即 Ganymede 系列 Eclipse。大小 34.6 MB。 关于安装 CDT 插件到 Eclipse 步骤,请参考作者的 Csdn 博客:集成 CDT 插件至 Eclipse 全...
cdt-master-8.0.1.part2.rar cdt-master-8.0.1.part2.rar cdt-master-8.0.1.part2.rar
标题“cdt-master-7.0.1-I201009241320”指的是Eclipse CDT(C/C++ Development Tooling)的一个版本,CDT是Eclipse IDE的一个重要扩展,专为C和C++编程提供集成开发环境。这个特定的版本号“7.0.1-I201009241320”...
**PyPI 官网下载 | cdt-0.2.1-py3-none-any.whl** 在Python开发中,PyPI(Python Package Index)是官方的软件仓库,它提供了大量可重复使用的Python模块、库和工具。PyPI使得开发者能够方便地分享自己的代码,同时...