CodeBlocks的常用快捷键
CodeBlocks常用操作快捷键
编辑部分:
Ctrl + A:全选
Ctrl + C:复制
Ctrl + X: 剪切
Ctrl + V:粘贴
Ctrl + Z:撤销
Ctrl + S:保存
Ctrl + Y / Ctrl + Shift + Z:重做
Ctrl+Shift+C:注释掉当前行或选中块
Ctrl+Shift+X:解除注释
Tab:缩进当前行或选中块
Shift+Tab:减少缩进
按住Ctrl,滚动鼠标滚轮,放大或缩小字体
编译与运行部分:
Ctrl + F9:编译
Ctrl + F10:运行上次成功编译后的程序
Ctrl + Shift + F9:编译当前文件(而不是当前打开的工程项目)
F9:编译并运行当前代码(如果编译错误会提示错误而不会运行)
F8:debug
F10:全屏
Ctrl + C:终止正在运行的程序
Ctrl + Z:终止输入
界面部分:
Shift + F2:左侧导航栏
熟练的掌握和使用这些快捷键可以有效的提高我们的工作效率,节约时间。
以下全部快捷键说明来自:http://wiki.codeblocks.org/index.php?title=Keyboard_Shortcuts
Function | Shortcut Key |
---|---|
Undo last action | Ctrl + Z |
Redo last action | Ctrl + Shift + Z |
Cut selected text | Ctrl + X |
Copy selected text | Ctrl + C |
Paste text from clipboard | Ctrl + V |
Select all text | Ctrl + A |
Swap header / source | F11 |
Comment highlighted code | Ctrl + Shift + C |
Uncomment highlighted code | Ctrl + Shift + X |
Duplicate line caret is on | Ctrl + D |
Auto-complete / Abbreviations | Ctrl + Space / Ctrl + J |
Show call tip | Ctrl + Shift + Space |
Swap line caret is on with line above it | Ctrl + T |
Toggle bookmark | Ctrl + B |
Goto previous bookmark | Alt + PgUp |
Goto next bookmark | Alt + PgDown |
Toggle current block folding | F12 |
Toggle all folds | Shift + F12 |
This is a list of shortcuts provided by the Code::Blocks' editor component. These shortcuts cannot be rebound.
Function | Shortcut Key |
---|---|
Magnify text size. | Ctrl + Keypad "+" |
Reduce text size. | Ctrl + Keypad "-" |
Restore text size to normal. | Ctrl + Keypad "/" |
Cycle through recent files. | Ctrl + Tab |
Indent block. | Tab |
Dedent block. | Shift + Tab |
Delete to start of word. | Ctrl + BackSpace |
Delete to end of word. | Ctrl + Delete |
Delete to start of line. | Ctrl + Shift + BackSpace |
Delete to end of line. | Ctrl + Shift + Delete |
Go to start of document. | Ctrl + Home |
Extend selection to start of document. | Ctrl + Shift + Home |
Go to start of display line. | Alt + Home |
Extend selection to start of display line. | Alt + Shift + Home |
Go to end of document. | Ctrl + End |
Extend selection to end of document. | Ctrl + Shift + End |
Go to end of display line. | Alt + End |
Extend selection to end of display line. | Alt + Shift + End |
Expand or contract a fold point. | Ctrl + Keypad "*" |
Create or delete a bookmark. | Ctrl + F2 |
Go to next bookmark. | F2 |
Select to next bookmark. | Alt + F2 |
Find selection. | Ctrl + F3 |
Find selection backwards. | Ctrl + Shift + F3 |
Scroll up. | Ctrl + Up |
Scroll down. | Ctrl + Down |
Line cut. | Ctrl + L |
Line copy. | Ctrl + Shift + T |
Line delete. | Ctrl + Shift + L |
Line transpose with previous. | Ctrl + T |
Line duplicate. | Ctrl + D |
Find matching preprocessor conditional, skipping nested ones. | Ctrl + K |
Select to matching preprocessor conditional. | Ctrl + Shift + K |
Find matching preprocessor conditional backwards, skipping nested ones. | Ctrl + J |
Select to matching preprocessor conditional backwards. | Ctrl + Shift + J |
Previous paragraph. Shift extends selection. | Ctrl + [ |
Next paragraph. Shift extends selection. | Ctrl + ] |
Previous word. Shift extends selection. | Ctrl + Left |
Next word. Shift extends selection. | Ctrl + Right |
Previous word part. Shift extends selection. | Ctrl + / |
Next word part. Shift extends selection. | Ctrl + \ |
Files
Function | Shortcut Key |
---|---|
New file or project | Ctrl + N |
Open existing file or project | Ctrl + O |
Save current file | Ctrl + S |
Save all files | Ctrl + Shift + S |
Close current file | Ctrl + F4 / Ctrl + W |
Close all files | Ctrl + Shift + F4 / Ctrl + Shift + W |
This is a list of shortcuts provided by the Code::Blocks' tab component. These shortcuts cannot be rebound.
Function | Shortcut Key |
---|---|
Activate next open file | Ctrl + Tab |
Activate previous open file | Ctrl + Shift + Tab |
View
Function | Shortcut Key |
---|---|
Show / hide Messages pane | F2 |
Show / hide Management pane | Shift + F2 |
Move project up (in Project tree) | Ctrl + Shift + Up |
Move project down (in Project tree) | Ctrl + Shift + Down |
Activate prior (in Project tree) | Alt + F5 |
Activate next (in Project tree) | Alt + F6 |
Zoom in / out | Ctrl + Roll Mouse Wheel |
Focus editor | CTRL + Alt + E |
Search
Function | Shortcut Key |
---|---|
Find | Ctrl + F |
Find next | F3 |
Find previous | Shift + F3 |
Find in files | Crtl + Shift + F |
Replace | Ctrl + R |
Replace in files | Ctrl + Shift + R |
Goto line | Ctrl + G |
Goto next changed line | Ctrl + F3 |
Goto previous changed line | Ctrl + Shift + F3 |
Goto file | Alt + G |
Goto function | Ctrl + Alt + G |
Goto previous function | Ctrl + PgUp |
Goto next function | Ctrl + PgDn |
Goto declaration | Ctrl + Shift + . |
Goto implementation | Ctrl + . |
Open include file | Ctrl + Alt + . |
Build
Function | Shortcut Key |
---|---|
Build | Ctrl + F9 |
Compile current file | Ctrl + Shift + F9 |
Run | Ctrl + F10 |
Build and Run | F9 |
Rebuild | Ctrl + F11 |
Debug
Function | Shortcut Key |
---|---|
Debug | F8 |
Continue debugging | Ctrl + F7 |
Step over a code block | F7 |
Step into a code block | Shift + F7 |
Step out of a code block | Ctrl + Shift + F7 |
Toggle breakpoint | F5 |
Run to cursor | F4 |
Previous error | Alt + F1 |
Next error |
Alt + F2 |
CodeBlocks的常用快捷键的更多相关文章
- Visaul Studio 常用快捷键的动画演示
从本篇文章开始,我将会陆续介绍提高 VS 开发效率的文章,欢迎大家补充~ 在进行代码开发的时候,我们往往会频繁的使用键盘.鼠标进行协作,但是切换使用两种工具会影响到我们的开发速度,如果所有的操作都可以 ...
- Android Stuido 常用快捷键
Android Stuido 常用快捷键 Ctrl + Z : 撤消 Ctrl + G : 定位行 Ctrl + / : 单行注释 Ctrl + Shift + Z : 恢复 Ctrl + J : 快 ...
- ADT - Eclipse 常用快捷键
ADT - Eclipse 常用快捷键 Alt + / : 自动补全 F3 : 打开类的源码 Ctrl + D : 删除选中行 Ctrl + 1 : 自动弹出修改建议 Ctrl + Shift + J ...
- iOS开发常用快捷键
二. Xcode基本快捷键 新建项目 Shift + CMD + N 项目中新建文件 CMD + N 运行 CMD + R 编译 CMD + B 停止运行 CMD + . 清除缓存 Shift + C ...
- windows常用快捷键
windows常用快捷键 Fn+F1:Windows的支持和帮助 =Windows 徽标+F1 Fn+F2:重命名对象 Fn+F3:查找所有文件 Fn+F4:选择“转到不同的文件夹”框并沿框中的项向下 ...
- Eclipse最常用快捷键
常用快捷键: Ctrl + 1 :快速修复(当编辑器出现红色波浪线时使用此快捷键能快速弹出提示) Ctrl + d :删除当前光标所在的行 Ctrl + z :撤销上一步的操作 Ctrl + y :重 ...
- MyEclipse 常用快捷键
MyEclipse 常用快捷键 编辑: Ctrl+1 快速修复(最经典的快捷键,就不用多说了,可以解决很多问题,比如import类.try catch包围等) Ctrl+Shift+F 格式化当前代码 ...
- Xcode 常用快捷键
一.Xcode基本快捷键 1.1.新建项目 Shift + CMD + N 1.2.项目中新建文件 CMD + N 1.3.运行 CMD + R 1.4.编译 CMD + B 1.5.停止运行 CMD ...
- PhpStorm 快捷键大全 PhpStorm 常用快捷键和配置
PhPStorm 是 JetBrains 公司开发的一款商业的 PHP 集成开发工具,PhpStorm可随时帮助用户对其编码进行调整,运行单元测试或者提供可视化debug功能.Phpstrom的一款名 ...
随机推荐
- 大学网站UI设计分析(以学校领导/历届领导为例)
第一次的冲刺阶段让我过了一把PM的瘾,第一阶段的冲刺完成以后第一感觉就是PM不好当,在大学里做个课程设计当个PM相对而言还是比较容易的,但是我明白,当我们走向工作岗位以后,面临的情况会比学校的情况的复 ...
- 总结在Visual Studio Code创建Node.js+Express+handlebars项目
一.安装node.js环境. Node.js安装包及源码下载地址为:https://nodejs.org/en/download/ 32 位安装包下载地址 : https://nodejs.org/d ...
- 2018软工实践—Alpha冲刺(7)
队名 火箭少男100 组长博客 林燊大哥 作业博客 Alpha 冲鸭鸭鸭鸭鸭鸭鸭! 成员冲刺阶段情况 林燊(组长) 过去两天完成了哪些任务 协调各成员之间的工作 学习MSI.CUDA 试运行软件并调试 ...
- SpringBoot与Swagger2整合
一.Swagger简介与优势 相信各位在公司写API文档数量应该不少,当然如果你还处在自己一个人开发前后台的年代,当我没说,如今为了前后台更好的对接,还为了以后交接方便,都有要求写API文档. Swa ...
- 1 RabbitMQ 安装,配置
1:安装 yum install -y rabbitmq-server 2:主要程序介绍 # 管理插件的程序 /usr/sbin/rabbitmq-plugins # 服务程序 /usr/sbin ...
- Java 面试前的基础准备 - 01
使用这个在线网页编辑真的是不习惯,还是 windows live writer 好. 下面列一个清单用于最近的面试:( 清单是网上down的 ) static,final,transient 等关键字 ...
- [计算机网络] DNS劫持和DNS污染
DNS劫持,指用户访问一个被标记的地址时,DNS服务器故意将此地址指向一个错误的IP地址的行为.范例就是收到各种推送广告等网站. DNS污染,指的是用户访问一个地址,国内的服务器(非DNS)监控到用户 ...
- HDU4803_Poor Warehouse Keeper
题目很有意思,我想说其实我在比赛的时候就看过了一下这个题目,今天才这么快搞出来吧. 其实总共按上键的次数不会超过10个,我们可以每次假设相隔按两次上键之间按了xi次下键,由于上键的次数是确定的,所以最 ...
- bzoj4032-最短不公共子串
题意 给出两个长度小于等于2000的小写字母串,四个问题: A的最短子串不是B的子串 A的最短子串不是B的子序列 A的最短子序列不是B的子串 A的最短子序列不是B的子序列 分析 虽然求的是不公共,但是 ...
- BZOJ4898/5367 Apio2017商旅(分数规划+floyd)
如果要在某点买入某物品并在另一点卖出,肯定是走其间最短路径.于是预处理任意两点间的收益和最短路径,连完边二分答案判负环即可,可以全程floyd.注意inf大小. #include<iostrea ...