2024年6月14日发(作者:)

File 菜单

New :新建( Empty filefile 、 class 、 project 、 build target ) 。

Recent projectsfiles :最近打开的项目 文件 。

Import projects : Dev-C++ Project 、 VC6 dswdsp 、 VC8 vcprojsln 。

Ctrl+Shift+S : Save all files 。

Save workspace (as) :将多个项目组织成一个工作空间,类似 VC 的 dswsln 。

Properties :文件信息 。

Ctrl+W : close current file (关闭当前文件) 。

Ctrl+Shift+W : close all files (关闭所有打开的文件) 。

Ctrl+Q : 退出 CodeBlocks 。

View 菜单

Shift+F2 :显示 隐藏左侧的 Management 。

F2 : 显示 隐藏底端的 Logs & Others 。

Edit 菜单

File encoding :在状态栏有当前文件的编码格式信息。

End of line mode :注意默认为 LF ( 'n' ),在 MS 中打开需要先用相关工具( UE

或 VS2005 )转换成 CRLF (“ rn” )。

F11 : swap headersource (切换头文件和实现文件)。

Ctrl+Shift+CToggle Comment : Comment (注释, C++ 风格: )。

Ctrl+Shift+X : Uncomment (取消注释)。

Stream Comment : 块注释, C 风格: 。

Ctrl+J : Auto-Complete (自动补齐关键字代码框架,例如 while (); )。

Ctrl+Shift+B : 括号匹配(类似 VC 的 Ctrl+] ) 。

Ctrl+Space : Complete code (完成单词) , 该快捷键提供输入只能提示

Ctrl+Space 与 SCIM 冲突。

Ctrl+Shift+Space : Show call tip (调用提示) 。

Search 菜单