Encyclopedia-commonly used shortcut keys for codeblocks

Editing part:
Ctrl + A: select all
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 the block
Ctrl+Shift+X: Uncomment
Tab: Indent the current line or select the block
Shift+Tab: Decrease the indentation
Press and hold Ctrl and scroll the mouse wheel to enlarge or reduce the font
compilation and running part :
Ctrl + F9: Compile
Ctrl + F10: Run the program after the last successful compilation
Ctrl + Shift + F9: Compile the current file (not the currently opened project)
F9: Compile and run the current code (If a compilation error occurs, an error will be prompted It will not run)
F8: debug
F10: full screen
Ctrl + C: terminate the running program
Ctrl + Z: terminate the input interface part:
Shift + F2: left navigation bar

Guess you like

Origin blog.csdn.net/lthahaha/article/details/109140856