Code::Blocks 是一个 开放源码的全功能的跨平台C/ C++ 集成开发环境。 Code::Blocks是开放源码软件。Code::Blocks由纯粹的C++语言开发完成,它使用了著名的图形界面库 wxWidgets(2.6.2 unicode)版。对于追求完美的C++程序员,再也不必忍受 Eclipse的缓慢,再也不必忍受 VS.NET的庞大和高昂的价格。
中文名
编码::方块
外文名
Code::Blocks
windows平台
至少windows vista(最新)
编程语言
C/C++
苹果支持平台
至少mac os x
其他支持平台
linux/unix/GNU
费    用
免费
自由性
高,但有乱码在保存时会提示

目录

  1. 1 基本配置
  2. 2 主要特点
  3. 3 版本发布
  4. ▪ 更新日志
  5. ▪ 大致
  6. 4 汇编
  1. ▪ 编译器
  2. ▪ 完成代码
  3. ▪ 计划
  4. ▪ 调试
  5. 5 插件
  6. ▪ 新增插件
  1. ▪ 工具
  2. 6 样式
  3. ▪ 改进插件
  4. ▪ 帮助
  5. ▪ 档案

基本配置

编辑

关于中文,安装中文语言包即可。
Windows平台安装
依次安装 GCC For Windows、  GDB For Windows(见扩展阅读,或者用CodeBlocks附带的 MinGW)、CodeBlocks。
打开CodeBlocks,在Settings->Compiler and debugger settings->选择GNU GCC Compiler,并在Toolchain executables中设置好对应执行软件路径(若是希望使用VC编译器,类似地设置即可)。
其他平台安装
从软件源中安装即可。

主要特点

编辑

虽然Code::Blocks从一开始就追求跨平台目标,但是最初的开发重点是Windows平台,从06年3月21日版本:1.0 revision 2220开始,Code::Blocks在它的每日构建中正式提供 GNU/Linux版本,这样 Code::Blocks在1.0发布时就成为了跨越平台的C/C++IDE,支持 Windows和GNU/Linux。由于它开放源码的特点,Windows用户可以不依赖于VS. NET,编写跨平台C++应用。
Code::Blocks提供了许多工程模板,这包括:控制台应用、 DirectX应用、动态连接库、 FLTK应用、GLFW应用、 Irrlicht工程、OGRE应用、 OpenGL应用、QT应用、 SDCC应用、SDL应用、SmartWin应用、静态库、Win32 GUI应用、 wxWidgets应用、wxSmith工程,另外它还支持用户自定义工程模板。在wxWidgets应用中选择 UNICODE支持中文。
Code::Blocks支持语法彩色醒目显示,支持代码完成(目前正在重新设计过程中)支持工程管理、项目构建、调试。
Code::Blocks支持插件,包括代码格式化工具AStyle;代码分析器;类向导;代码补全;代码统计;编译器选择;复制字符串到剪贴板;调试器;文件扩展处理器;Dev-C++DevPak更新/安装器;DragScroll,源码导出器,帮助插件,键盘快捷键配置,插件向导;To-Do列表;wxSmith;wxSmith MIME插件;wsSmith工程向导插件; Windows7外观。
Code::Blocks具有灵活而强大的配置功能,除支持自身的工程文件、C/C++文件外,还支持AngelScript、批处理、CSS文件、D语言文件、Diff/Patch文件、Fortan77文件、GameMonkey脚本文件、Hitachi汇编文件、Lua文件、MASM汇编文件、Matlab文件、NSIS开源安装程序文件、Ogre Compositor脚本文件、Ogre Material脚本文件、OpenGL Shading语言文件、Python文件、Windows资源文件、XBase文件、XML文件、nVidia cg文件。识别Dev-C++工程、MS VS 6.0-7.0工程文件,工作空间、解决方案文件。
Code::Blocks基于wxWidgets开发,正体现了wxWidgets的强大。以前Borland C++Builder X宣称基于wxWidgets开发跨平台、兼容性好、最优秀的C++ IDE环境,但没有实现;让我们拭目以待。国内的Code::Blocks爱好者和跨平台开发员应该尽快建立中文Code::Blocks网站,提供Code::Blocks中文化支持,促进Code::Blocks在国内的发展。

版本发布

编辑

2012年11月25日 星期六12:23
Changelog

更新日志

For the release 12.11, we provide a top-level changelog hereby about what has changed since 10.05 (to download this or a full
change log, links are provided at the bottom of this page):
关于版本12.11起自于10.05的更新,我们特此提供了一个顶端视图级的预览(要下载这个完整的更新日志,链接在本页的底端)。

大致

常规
- Better support for dark themes in Linux
对Linux暗主题更好的支持
- Support open file's containing folder using the context menu of the file
在环境菜单中支持打开文件时包含路径
- Context menu item to show file in project tree
环境菜单条目可以以树形结构显示项目中的文件
- Improved lexers for various languages
多方语言语法分析器功能改进
- Added the ability to show tooltips on cbAuiNotebook tabs - show full filename and project in tooltip for editor tabs
增加了在笔记本标签上可以显示的功能-它在编辑选项卡上显示完整的文件名称和项目
- Added the ability to maximize editors with double-click on tab
增加了一个双击文件选项卡可以最大化编辑器窗口的功能
- Add ability to hide the editor tabs, can be toggled with "View -> Hide editor tabs" or "Ctrl+H"
增加了一个使用"视图"菜单下的"隐藏编辑器选项卡"或快捷键"^H"隐藏编辑器选项卡的功能
- Select file from all projects in the workspace (Search->Goto file)
在工作区中可以从所有项目中选择文件(Search下的Goto file)
- Some accessibility improvements - more things are accessible only with a keyboard
许多重要的可访问性改进-许多仅能从键盘上完成的可访问性改进
- Lots of improvements to the Marcos support in the options - more options support macro expansion and there are more
variables
大量关于宏支持的选项改进-更多关于宏的扩展和更多变量的选项支持
- Added per language override for the 'use tabs' setting. Currently only for Python files (always use spaces) and for
Makefiles (always use tabs)
在"use tabs"设置中增加了每一种语言重写的功能设置,当前仅支持Python语言文件(已经在用户空间中)和Makefiles文件(已经在编辑器
选项卡中)
- Use gtk-notebook as default notebook on systems using wxGTK, so the notebook-tabs integrate more smooth into the systems
theme
用户GTK笔记模式可以被wxGTD默认使用,所以这个选项卡标签被平滑过渡的方式集成了到系统主题中
- Active project no longer stored in workspace but in dedicated layout file for the workspace,
激活的项目不再存储在工作区,除非这个文件是特别指定为空间的布局文件
- Speed up scrolling in wxScintilla
提升wxScintilla的滚动速度
- Harmonised find and replace dialogues
优美和谐的查找替换对话框
- Added power user support for units global feature. These are directory paths that can be specified, and all files in there will be considered as sources for the project. This can be based on a wild-card for the file types, and can be recursive.When no wild-card is specified (empty) the default CB wild-card for adding files is used
增加了一个强大的全局用户单元支持,这需要指定一个目录给它,并且所有与项目有关的源码文件都会被考虑在内。此操作的文件类型可以由通配符扩展。当未指定通配符时,默认的CB通配符将被用于添加文件。
- Made the localization to be off by default, hopefully this will minimize the number of people getting the right-to-left
text issue
本地化功能默认被关闭,因为只有极少数用户有这种从右至左的语言书写顺序问题解决期望。
- Add predefined settings for the terminals on Linux
为Linux的终端增加了预定义设置功能

汇编

编辑

编译器

- Support GCC up to version 4.7
GCC版本支持到4.7
- Improved Fortran/D support
改进Fortran/D支持
- Improved resource compilation with MinGW resource compiler
改进MinGW源码编译器的源码编译功能
- Automatically re-link a project when a dependant static library has been changes
当依赖于一个项目存在的这个静态库被改变时自动重新连接这个项目
- Switched full command line logging to be the default option for all compilers
为所有编译器转换了完整命令行日志
- Fixed Cygwin Compiler auto-detection
修复Cygwin(注:一个小型UNIX模拟环境)编译器的自动检测功能

完成代码

代码自动完成
- Calltip improvements: cleaned it up (strip duplicates), refined the calltip window position, "Pretty Print" each function
names
关于提示点的改进:可以清除它(去除重复),重新定位一个精致的Windows提示点,对每个函数名称的"Pretty Print"功能
- Fixed showing the Call tip for consturctors and destructors
修复了构造器和解构造器的提示点显示功能
- Optimised the Symbols browser by avoid unnecessary updates
优化了符号浏览状态下关于avoid的一些不太重要的更新
- Fixed some bug when saving/loading the Code completion options
修复了一些代码自动完成选项中保存和载入的问题
- Made 'Find implementation' and 'Find declaration' to be more precise (goto to line and column)
使"Find implementation"(注:搜索实现)和"Find declaration"(搜索声明)更准确(直接定位到行和列)
- Fixed some bugs with the refresh of the Code completion toolbar
修复了代码自动完成工具栏上刷新的一些问题
- Fixed many bugs in the parser (crashes, deadlocks and parsing errors)
修复了语法分析器(崩溃、死锁、分析错误)的多个问题
- Added support to the parser for handling conditional preprocessor directives (only for file scope, included files aren't
expanded)
增加了对语法分析器手动预处理指令的支持(仅限文件作用域,include文件尚未扩展进来)
- Improved the Macro replacement and added macro replacement for GCC/MSVC build-ins
改进了宏替换功能,增加了GCC/MSVC上构建的的宏替换功能
- Made the parser more robust and improved the thread safety
使语法分析器更加运行强健并且改进了它的线程安全
- Introduce two major options for the operation of the Code completion plugin: one parser for all workspace or a parser per

计划

介绍两个比较重点的自动完成操作选项功能的插件:一个工作区全局语法分析器和一个逐个项目的语法分析器
- Improved the parsing of Class inheritance, now it is better and faster
改进了类继承的语法分析
- Improved parsing of C++ template constructs, typedef statements, operator overloading
改进了C++构件、类型自定义语句typedef和重载操作的语法分析器
- Added macro expansion for some code patterns (e.g. wxWidgets's event handling table/entry macros)
增加了许多代码块的宏扩展功能(比如wxWidgets的事件处理表单或资源宏)
- Added None/Null parser for parsing files not included in any C::B project.
增加了不包含任何C::B项目的文件中的None/Null的语法分析
- Adding code with auto-completion follows the active indentation and EOL style
增加代码自动完成功能和下面内容自动缩进,并且拥有EOL(注:面向表达式的语言)风格
- Support auto-completion for include header file names and preprocessor directives
支持include头文件名称和预处理指令的自动完成功能
- Automatically append the text if the prefix word already exists before the caret(after the user hit Enter on the suggestion
list)
在已经在前面存在的的插入符号前自动追加文本文件的前缀(如果用户按了回车键则显示建议候选值列表)
- Support auto-completion for member variable initialisation
支持成员变量初始化自动完成功能
- Added some tools for simple refactoring tasks: find references, rename a symbol (not 100% precise)
增加了一些简单重构任务的工具:查找参照,符号重名称(并非百分之百精确)
* Not implemented (TODO) - parsing of multiple template arguments
未执行的(TODO)-多样化模板参数语言分析器

调试

调试器:
- Reworked the plugin API and made it easier to implement different debugger plugins (currently there are at least 3 plugins
in progress)
重写和插件API功能并且使它更容易为不同的实现调试器所调用(当前至少还有3个插件正在此进程中继续进行着)
- Reimplemented the watches window to be easier to use* using wxPropertyGrid control. Now adding, removing, editing watches
should be easier
重应用一个观察窗口使它更易于为wxPropertyGrid所调用。增加、删除、编辑观察点容易多了
- Reimplemented the UI used for the 'Evaluate expression under cursor' feature, it is similar to the new watches window
重应用"Evaluate expression under cursor"的一个有特色的用户界面(UI),它与全新的观察窗口竟然有些相似
- Fixed some problems in the callstack window - switching to the selected frame should work 99% of the time
修复了多个栈调用窗口的问题-切换到已选择的窗口框架可以看到99%的时间下工作的栈
- There were many improvement to the disassembly window
还有许多反汇编窗口的重要改进
- The debugger options have been extracted in Settings->Debugger. Multiple configurations are supported for every different

插件

编辑

调试器选项被调整到了"Settings"菜单下的"Debugger"这里。多个不同功能的插件可以在这里被支持并且可以配置它们
- Made it possible to run the host application for a DLL project in a terminal
使运行在终端上调用DDL项目的主机应用程序更加合适
- The GDB plugin is way more robust and reliable now, GDB 7.5 is supported
7.5版也已经支持了
- The CDB plugin is vastly improved
大幅改进CDB插件
- Remote debugging works better
远程调用工作可以更好的进行
- Made it possible to use marco replacement variables in many places
使宏替换变量在许多地方可以运行的更好
* The local variables and function arguments features have not been reimplemented, because of complexities in the UI design,
reliability issues and performance
本地变量和函数参数特性没有重应用,所以UI设计的复杂性、可靠性问题和性能问题仍然存在

新增插件

- Abbreviatons (extracted from the core): provides auto-completion (note that this has nothing to do with code completion):
Abbreviatons(由内核释出):自动完成功能改进(注:这里没有代码自动完成功能需要做的任何事情)
- Cscope: integrates the source code searching features of Cscope:
Cscope:集成源代码查找特性,
- DoxyBlocks: support for doxygen inline documentation:
DoxyBlocks:支持doxygen内联函数文档在
- EditorConfig:
EditorConfig:
- EditorTweaks: make one off changes to active editor (EOL mode, wrap etc) and code alignment

工具

EditorTweaks:使用了一个编辑器激活代码工具并且它有停靠对齐工具栏(EOL模式、wrap模式等等),访问
- FileManager: tree view of the file system with support for basic file management operations in the management pane:
FileManager:以树状结构查看已经支持的基本文件系统及其操作选项管理面板
- NassiShneiderman: creation of Nassi Shneiderman diagrams:
NassiShneiderman:创建一个Nassi Shneiderman对话框
- ReopenEditor: reopens last closed editor(s) via hotkey (Ctrl+Shift+t) or menu-item
ReopenEditor:重新打开最后一次从编辑器中关闭的文件(热键^+~+t)或菜单条目
- SmartIndent (extracted from the core): multi-language support for automatic indenting of code to match typical indentation

样式

编辑

SmartIndent(内核释出):多种语言支持代码自动匹配和自动智能缩进
- SpellChecker: check spelling in comments and strings using hunspell:
SPellChecker:用户字符串和注释中的拼写检查,使用hunspell(注:一种拼写检查器)技术
- ToolsPlus: creation and management of custom tools
ToolsPlus:创建和管理一个自定义工具
Improved plugins:

改进插件

- Abbreviations: added support for autocompletion and automatic conversion of tab/space and eol style of the editor
Abbreviations:增加和对编辑器的自动完成和自动转换标签、空格和EOL风格的支持
- AStyle: add brackets option, delete empty lines option, other new features from moving to astyle 2.02
AStyle:增加括号选项,删除空行选项以及其他一些关于AStyle2.02的新特性
- AutoSave: new option to autosave entire workspace, bug fix for timer UI
AutoSave:新选项支持工作区自动保存,修复了时间UI上的一个问题
- AutoVersion: improved svn support (legacy versions, git-svn), bug fixes
AutoVersion:提升了SVN的支持(遗留版本、GIT-SVN),修复多个问题
- BrowseTracker: jump tracker now ignores line 1 activations
- CppCheck: configuration UI, bug fixes
CppCheck:UI配置多个问题修复
- CodeSnippets: bug fix (crasher)
CodeSnippets:多个问题修复(关于崩溃的)
- CodeStatistics: stats for project or entire workspace
CodeStatistics:工作区条目或项目状态
- DragScroll: bug fix (gtk crasher)
DragScroll:修复问题(GTK崩溃问题)
- Header Fix-up: STL and C library bindings
Header Fix-up:STL和C语言库绑定
- Help: support for windows help collections, fixes crash on exit

帮助

支持Windows帮助集合对象,修复了在退出时崩溃的问题
- HexEditor: crash fix
HexEditor:崩溃问题修复
- KeyBinder: remove Ctrl-C/V/X (copy/paste/cut) from menu keybinder table to allow native behavior, other fixto play more
nicely with OS *********-check?
KeyBinder:删除了KeyBinder菜单中的CTRL-C/V/X(复制、粘贴、剪切)以允许本地化行为,其他更精细的操作对于操作系统***怎么检查好
呢?
- Profiler: autoselect active target,fix for rare crash

档案

自动选择活动标头,修复偶然崩溃问题
- Project Importer: new support for MSVC 7, 10
Project Importer:增加了对MSVC7和10的项目导入功能的支持
- ThreadSearch: UI improvements
ThreadSearch:UI改进
- ToDo: more language independent, fixes annoying UI bugs
多语言独立模式,修复了一些让人恼火的UI问题
- Valgrind: added configuration panel, works better with CB projects, more output handling and support for valgrind features
Valgrind:增加了配置面板,CB项目工作将更好,更多valgrind关于输出可以手动控制的特性
- wxSmith: support for many new widgets (including KWIC, ImagePanel, GridBagSizer), internationalization support, duplicate
IDs are allowed, tons of bug fixes
wxSmith:支持更多新的小工具(包括KWIC、ImagePanel、GridBagSizer),支持国际化,复制ID也已被允许,巨量的问题已修复
2010年05月23日,Code::Blocks (6271) 发布,C++开发环境,
修正一个缺陷“高级选项”页面的wxWidgets项目向导。(谢谢汉斯·亨瑞克为指向这个)
KeyBinder 1 0 49 2010/03/3:应用补丁2885年由易怒的
CppCheck插件:切换到输入文件列表风格的新CppCheck(1.41)
构建SqPlus修复。
修正:编译器警告——“警告:“dllimport”属性忽视”
固定一臭虫在linux上:插件列表,应该被加载在批处理构建模式没有保存
cc:应用补丁通过所修复VC头解析
答:一些代码清理,额外的调试消息
修正了在sqstdstring.cpp错字
修复bug # 17097(经理面板不正确的行为),也改变了行为,得到如果接近所有标签是活跃和关闭按钮被单击时,
CC:bug修复GetGCCCompilerDirs Archlinux失败(由于所)
应用补丁为向导的默认编译器错误(谢谢所)
CC:修复的记号赋予器::FixArgument“bug:支持跳过c++注释(谢谢所)
CC:修复一个bug为“外来的”C + +”(谢谢所)
应用:[补丁# 2974]调整路径闪烁在“plugin::ScriptedWizard”
应用:[补丁# 2969]到wxWidgets向导。
固定可能崩溃的候选人
应用:[补丁# 2977]wxSmith补丁,固定大小的最小预览 bug。
准备新标识。
2010年05月31日,Code::Blocks 10.05 发布。
2012年11月25日,Code::Blocks 12.11 发布。

转载于:https://www.cnblogs.com/lvdongjie/p/6558882.html

Code::Blocks相关推荐

  1. Windows 7+Code::Blocks+wxWidgets实录(一)

    环境配置篇 玩过Linux的人应该对Code::Blocks和wxWidgets并不陌生. Code::Blocks是一款非常有名的代码编辑器,在linux下用不惯vim的话,这是个不错的选择.但千万 ...

  2. 灵异事件 !同一个代码在code::blocks和Dev上面运行结果不一样!(一番分析后找到原因!)

    我今天在code的时候发现了一个灵异事件 !同一个代码在code::blocks和Dev上面运行结果不一样! 如图,同一个代码文件在两个编译器上的输出不同: 同样的代码在code::blocks上输出 ...

  3. 使最新版Code::Blocks支持C++11标准

    在使用最新版的Code::Blocks的时候发现如果使用C++11的unordered_map编译器就会报错: error: 'unordered_map' does not name a type ...

  4. code blocks 快捷键

    ==日常编辑== • 按住Ctrl滚滚轮,代码的字体会随你心意变大变小. • 在编辑区按住右键可拖动代码,省去拉(尤其是横向)滚动条之麻烦:相关设置:Mouse Drag Scrolling. • C ...

  5. code blocks 代码颜色_vuepress中实现代码折叠、高亮

    最近在vuepress中撰写UI框架文档时发现在组件中插入演示代码没高亮,虽然在文档markdown中写代码有高亮但就无法实现折叠了,而且vuepress没有提供折叠代码的配置,因此实现一个折叠组件外 ...

  6. Mac安装code blocks以及解无法打开的问题

    第一步 首先前往code blocks官网下载 http://www.codeblocks.org/downloads/26 第二步:解压 因为我的下载默认是在Downloads下,所以,解压也在这个 ...

  7. OpenCASCADE:Mac OS X平台使用Code::Blocks构建OCCT

    OpenCASCADE:Mac OS X平台使用Code::Blocks构建OCCT OpenCASCADE:Mac OS X平台使用Code::Blocks构建OCCT 配置 生成项目 建造 Ope ...

  8. OpenCASCADE: Code::Blocks构建OCCT

    OpenCASCADE:Code::Blocks构建OCCT OpenCASCADE:Code::Blocks构建OCCT 第三方库 配置 项目生成 建造 OpenCASCADE:Code::Bloc ...

  9. linux下C/C++ IDE比较 Code::Blocks还是不错的

    转载请注明出处: 编程笔记BLOG 工欲善其事,必先利其器.用了这么久的linux,现在比较主流的几个C/C++的IDE基本已都用过了,现在来对他们做一下简单的比较. 1.VIM 首先要说的是VIM. ...

  10. Linux 下安装配置C/C++开发环境 Code::Blocks

    Linux 下安装配置C开发环境Code::Blocks 一.提前的话 要说C语言和Linux的关系大家应该都不会陌生,Linux系统内核就是用C语言开发的,所以所有的Linux系统下面 都会有C的编 ...

最新文章

  1. php传递数据给javascript
  2. 云企业网的应用于功能详解
  3. Keystone创建服务实体报错HTTP401和HTTP500
  4. 强势的老板--项目管理
  5. 十九、Seaborn数据可视化
  6. python3.6+qt designer一系列配置
  7. c语言可以编写图形界面吗,「分享」C语言如何编写图形界面
  8. 深入.net平台的分层开发
  9. 通过IDE生成和手动call调用webservice
  10. MapReduce精髓
  11. css3中关于transform rotate、translate()、skew()、scale()的复合变换
  12. 计算机基础——局域网、以太网技术、令牌环网
  13. 70 个数据分析常用网址!
  14. SAP Scripting Tracker基本使用技巧
  15. 此图片来自微信公众平台 未经允许不可引用
  16. 4x root 红米_红米Note 4X root教程_红米Note4X获取root权限的方法
  17. 如何展示实时音视频通话时正在说话用户的音浪
  18. emoji表情mysql处理_Mysql Emoji表情处理
  19. H5 CSS 引入方式 外联样式表
  20. 战地4服务器物理地址,战地4 游戏服务器地址

热门文章

  1. CSS Modules和Styled Components
  2. 无人机上的光流定位通常适用于_现下大热的无人机机载激光雷达,究竟由哪些核心部件组成...
  3. mysql输入01变成1_01-MySQL基本操作
  4. 我最烦的几个中国摇滚乐队或歌手
  5. 如何获取ipa安装包
  6. VmWare网络配置,只此一篇就够了
  7. 【数据结构与算法】递归树
  8. vue项目实战精粹汇总
  9. springboot servlet注册(@WebServlet实现)
  10. C#/Java 调用WSDL接口及方法