ShortCut keys for Codeblocks you need know

原创 2013年12月03日 21:27:23


Function Shortcut Key
Undo last action Ctrl-Z
Redo last action Ctrl-Shift-Z
Swap header / Source F11
Comment highlighted code Ctrl-Shift-C
Uncomment highlighted code Ctrl-Shift-X
Auto-complete / Abbreviations Ctrl-Space / Ctrl-J
Toggle bookmark Ctrl-B
Goto previous bookmark Alt-PgUp
Goto nex bookmark Alt-PgDown
Some shortcuts cann't be rebound, here is a list for these.

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
Find matching preprocessor conditional, skipping nested ones. Ctrl-K


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

Function Shortcut Key
Show / hide Message pane F2
Show / hide Management pane Shift - F2
Activate prior ( in Project tree) Alt - F5
Activate next ( in Project tree) Alt - F6


Function Shortcut Key
Find Ctrl - F
Find next F3
Find previous Shift - F3
Find in files Ctrl - 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 - .


Function Shortcut key
Build Ctrl - F9
Compile current file Ctrl - Shift - F9
Run Ctrl - F10
Build and Run F9
Rebuild Ctrl - F11

MYSQL驱动包升级到5.1.17版本之后会出现的问题:Generated keys not requested. You need to specify Statement.RETURN_GENERATED_KEYS to Statement.execu

今天部署项目的时候顺便把一些依赖用新版本的jar替换了,其他还好就是MYSQL的驱动出了问题。 原来用的是5.1.5的包,替换成5.1.17之后,如下生成主键的代码都会报错:ps = getConne...
  • shootyou
  • shootyou
  • 2010年11月20日 14:45
  • 12754

【JavaEE】SQLException:Generated keys not requested. You need to specify Statement.RETURN_GE

错误:java.sql.SQLException: Generated keys not requested. You need to specify Statement.RETURN_GENERAT...
  • zhengwangzw
  • zhengwangzw
  • 2016年09月08日 14:02
  • 1101


583.During recovery, you need to know if log sequence 11 is in the online redo logs, and if so, you ...
  • rlhua
  • rlhua
  • 2013年11月11日 12:03
  • 3580

更新mysql驱动5.0-6.0 Generated keys not requested. You need to specify Statement.RETURN_GENERATED_KEYS

之前写了一个mysql事务管理的小框架,用的好好的,今天将mysql驱动更新到6.0之后(之前是5.0),发现之前跑的好好的代码出问题了 mysql mysql-connector-j...
  • zqz_zqz
  • zqz_zqz
  • 2016年11月27日 22:33
  • 472

Caused by: java.sql.SQLException: Generated keys not requested

1、错误描述at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(Ru...
  • you23hai45
  • you23hai45
  • 2017年02月10日 18:41
  • 469


code blocks正常安装完成后,调试程序出现错误:You need to specify a debugger program in the debuggers's settings.这个是说调...
  • u012836971
  • u012836971
  • 2018年02月27日 15:07
  • 114

linux you need to know

Jobs are at a higher level than Linux processes; the Linux operating system knows nothing about the...
  • u014133453
  • u014133453
  • 2014年04月09日 14:32
  • 475

uva 11987 Almost Union-Find(并查集)

Almost Union-Find I hope you know the beautiful Union-Find structure. In this problem, you're t...
  • u011328934
  • u011328934
  • 2013年08月08日 00:14
  • 1000

Spyware: What You Need to Know

It can turn your system against you, slow your browser to a crawl and inhabit your computer like som...
  • wuyanhuiyishi
  • wuyanhuiyishi
  • 2005年11月16日 12:00
  • 921

JavaScript-读 You Dont Know JS,this到底是什么

You Dont Know JS一系列书不错。这一系列博客是我读这本书以后总结的干货。这篇博客讲解为什么使用this,以及如何确定一次函数调用的this到底是哪个对象。...
  • qiqingjin
  • qiqingjin
  • 2017年05月05日 17:21
  • 2278
您举报文章:ShortCut keys for Codeblocks you need know