Codeblocks shortcut key collection

CodeBlocks common operation shortcuts

Editing part:

Ctrl + A: select all bai
Ctrl + C: copy
Ctrl + X: cut
Ctrl + V: paste
Ctrl + Z: undo
Ctrl + S: save
Ctrl + Y / Ctrl + Shift + Z: redo
Ctrl+Shift+C : Comment out the current line or select a block
Ctrl+Shift+X: Uncomment
Tab: Indent the current line or select a block
Shift+Tab: Decrease the indentation
Press and hold Ctrl, scroll the mouse wheel to enlarge or reduce the font

Compile and run part:

Ctrl + F9: Compile
Ctrl + F10: Run the program after the last successful compilation
Ctrl + Shift + F9: Compile the current file
F9: Compile and run the current code
Ctrl + C: Terminate the running program
Ctrl + Z: Terminate input

Debugging part:

F5: Set a breakpoint on the line where the cursor is currently
F4: Run to the line where the cursor is
F8: Start debugging
Shift + F8: Stop debugging
F7: Next line of code
Shift + F7: Enter the next line of code

Interface part:

Shift + F2: left navigation bar

Guess you like

Origin blog.csdn.net/qq_44922487/article/details/113803611