Eclipse CDT提供了一個基于Eclipse平臺的功能齊全的C和C++集成開發環境。功能包括:支持各種工具鏈的項目創建和托管生成、標準生成生成、源導航、各種源知識工具,如類型層次結構、調用圖、包含瀏覽器、宏定義瀏覽器、帶語法高亮顯示的代碼編輯器、折疊和超鏈接導航,源代碼重構和代碼生成,可視化調試工具,包括內存、寄存器和反匯編查看器。
Eclipse CDT使用說明
1、打開軟件,點擊File-->New,點擊C/C++ Project;
2、點擊選擇語言模式,點擊Next;
3、輸入項目名,選擇項目類型,點擊Finish!
Eclipse CDT使用技巧分享
設置字體大小
windows->Prefrence->General->Editors->Text Editors->Colors and Fonts
相關顏色配置
選中的文字顏色:
windows->Prefrence->General->Editors->Text Editors:
Section Foreground Color
Section Background Color
鼠標停放處的關鍵字顏色:
windows->Prefrence->General->Editors->Text Editors->Annotation:
C/C++ Occurrence
C/C++ Write Occurrence
單步調試時的顏色:
windows->Prefrence->General->Editors->Text Editors->Annotation:
Debug Call Stack
Debug Current Instruction Pointor
關鍵字搜索顏色:
windows->Prefrence->General->Editors->Text Editors->Annotation:
Search Result
另外一些語法錯誤警告或者拼寫錯誤都可以在Annotation標簽下設置
被屏蔽代碼的背景顏色:
windows->Prefrence->C/C+±>Editor->Inactive code highlight
其他配置
在調試時鼠標移到變量附近可以顯示變量的相關信息,也可以在windows->Prefrence->C/C+±>Debug->GDB->Use enhanced debug hover顯示更詳細的信息
- PC官方版
- 安卓官方手機版
- IOS官方手機版