ubuntu 14.04使用codeblock

本文档详细介绍了如何在 Ubuntu 14.04 系统上安装 CodeBlocks 开发环境,并提供了基础配置教程,包括主题设置、光标样式调整、快捷键自定义等内容。此外,还介绍了项目创建流程及常用快捷键,帮助开发者快速上手。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

ubuntu 14.04使用codeblock

1、安装

sudo apt-get install codeblocks codeblocks-common codeblocks-contrib wxformbuilder libwxbase3.0-0 libwxgtk3.0-0 wx-common wx3.0-headers wx3.0-i18n wx3.0-examples

2、基础配置

http://wiki.codeblocks.org/index.php?title=Syntax_highlighting_custom_colour_themes 添加theme

setting => syntax highlighting 配置theme

setting => editor => margin and caret 配置光标显示(默认为黑色,黑色theme时看不到)

setting => editor => keyboard shortcuts 配置快捷键

setting => editor => code complete 配置代码自动完成

3、项目

file => new => project 创建项目

项目属性 => build options 配置项目环境,tag,shared lib,头文件等

file => new => file / class 新添加代码文件

4、常用快捷键

ctrl + G 跳转到某一行

alt + G 打开某一文件

ctrl + shift + G 跳转到某一函数

ctrl + F9 编译

ctrl + F10 运行

ctrl + F11 重新编译

F9 编译+运行

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值