code:blocks 快捷键(精华版+全部快捷键!!)

您所在的位置:网站首页 一键退出游戏快捷键是哪个按键啊苹果 code:blocks 快捷键(精华版+全部快捷键!!)

code:blocks 快捷键(精华版+全部快捷键!!)

2024-07-10 21:14| 来源: 网络整理| 查看: 265

今天第一次用code:blocks,在网上搜索了code:blocks的快捷键,现在整理下来一些常用的,以备以后查看。

1.查找:Ctrl+F

2. Build并运行:F9

3. Build项目:Ctrl+F9

4. 运行:Ctrl+F10

5.debug:F8

6.Step over a code block:F7

7.Step into a code block:Shift + F7

8.Step out of a code block:Ctrl + Shift + F7

9.存储当前文件:Ctrl+S

10.存储所有文件:Ctrl+Shift+S

11.注释代码:Ctrl+Shift+C

12.反注释高亮代码:Ctrl+Shift+X

13.剪切选中行:Ctrl+L

补充:

codeblock使用

       设置豆沙绿色”可保护眼睛 Setting菜单-->Editor-->Syntax Highlighting-->Background-->添加自定义颜色(色调:85,饱和度123,亮度205)

全部快捷键

以下全部快捷键说明来自:http://wiki.codeblocks.org/index.php?title=Keyboard_Shortcuts

FunctionShortcut KeyUndo last actionCtrl + ZRedo last actionCtrl + Shift + ZCut selected textCtrl + XCopy selected textCtrl + CPaste text from clipboardCtrl + VSelect all textCtrl + ASwap header / sourceF11Comment highlighted codeCtrl + Shift + CUncomment highlighted codeCtrl + Shift + XDuplicate line caret is onCtrl + DAuto-complete / AbbreviationsCtrl + Space / Ctrl + JShow call tipCtrl + Shift + SpaceSwap line caret is on with line above itCtrl + TToggle bookmarkCtrl + BGoto previous bookmarkAlt + PgUpGoto next bookmarkAlt + PgDownToggle current block foldingF12Toggle all foldsShift + F12

This is a list of shortcuts provided by the Code::Blocks' editor component. These shortcuts cannot be rebound.

FunctionShortcut KeyMagnify text size.Ctrl + Keypad "+"Reduce text size.Ctrl + Keypad "-"Restore text size to normal.Ctrl + Keypad "/"Cycle through recent files.Ctrl + TabIndent block.TabDedent block.Shift + TabDelete to start of word.Ctrl + BackSpaceDelete to end of word.Ctrl + DeleteDelete to start of line.Ctrl + Shift + BackSpaceDelete to end of line.Ctrl + Shift + DeleteGo to start of document.Ctrl + HomeExtend selection to start of document.Ctrl + Shift + HomeGo to start of display line.Alt + HomeExtend selection to start of display line.Alt + Shift + HomeGo to end of document.Ctrl + EndExtend selection to end of document.Ctrl + Shift + EndGo to end of display line.Alt + EndExtend selection to end of display line.Alt + Shift + EndExpand or contract a fold point.Ctrl + Keypad "*"Create or delete a bookmark.Ctrl + F2Go to next bookmark.F2Select to next bookmark.Alt + F2Find selection.Ctrl + F3Find selection backwards.Ctrl + Shift + F3Scroll up.Ctrl + UpScroll down.Ctrl + DownLine cut.Ctrl + LLine copy.Ctrl + Shift + TLine delete.Ctrl + Shift + LLine transpose with previous.Ctrl + TLine duplicate.Ctrl + DFind matching preprocessor conditional, skipping nested ones.Ctrl + KSelect to matching preprocessor conditional.Ctrl + Shift + KFind matching preprocessor conditional backwards, skipping nested ones.Ctrl + JSelect to matching preprocessor conditional backwards.Ctrl + Shift + JPrevious paragraph. Shift extends selection.Ctrl + [Next paragraph. Shift extends selection.Ctrl + ]Previous word. Shift extends selection.Ctrl + LeftNext word. Shift extends selection.Ctrl + RightPrevious word part. Shift extends selection.Ctrl + /Next word part. Shift extends selection.Ctrl + \

Files

FunctionShortcut KeyNew file or projectCtrl + NOpen existing file or projectCtrl + OSave current fileCtrl + SSave all filesCtrl + Shift + SClose current fileCtrl + F4 / Ctrl + WClose all filesCtrl + Shift + F4 / Ctrl + Shift + W

This is a list of shortcuts provided by the Code::Blocks' tab component. These shortcuts cannot be rebound.

FunctionShortcut KeyActivate next open fileCtrl + TabActivate previous open fileCtrl + Shift + Tab

View

FunctionShortcut KeyShow / hide Messages paneF2Show / hide Management paneShift + F2Move project up (in Project tree)Ctrl + Shift + UpMove project down (in Project tree)Ctrl + Shift + DownActivate prior (in Project tree)Alt + F5Activate next (in Project tree)Alt + F6Zoom in / outCtrl + Roll Mouse WheelFocus editorCTRL + Alt + E

Search

FunctionShortcut KeyFindCtrl + FFind nextF3Find previousShift + F3Find in filesCrtl + Shift + FReplaceCtrl + RReplace in filesCtrl + Shift + RGoto lineCtrl + GGoto next changed lineCtrl + F3Goto previous changed lineCtrl + Shift + F3Goto fileAlt + GGoto functionCtrl + Alt + GGoto previous functionCtrl + PgUpGoto next functionCtrl + PgDnGoto declarationCtrl + Shift + .Goto implementationCtrl + .Open include fileCtrl + Alt + . Build

FunctionShortcut KeyBuildCtrl + F9Compile current fileCtrl + Shift + F9RunCtrl + F10Build and RunF9RebuildCtrl + F11 Debug FunctionShortcut KeyDebugF8Continue debuggingCtrl + F7Step over a code blockF7Step into a code blockShift + F7Step out of a code blockCtrl + Shift + F7Toggle breakpointF5Run to cursorF4Previous errorAlt + F1Next errorAlt + F2 Step into a code block


【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3