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