QT Creator shortcut keys

Source: Internet
Author: User

F1 View Help
F2 jump to function definition
SHIFT + F2 toggle between declaration and definition
f4                         header files and source files Toggle between


ALT + 0 Show or hide sidebar, edit mode function (sometimes the function is too long, the screen is not big enough, use this)
Ctrl + Space Auto-complete (seemingly will and IME switch conflict)
ESc switches to edit mode


Ctrl + B compilation Project
Ctrl + R to run the project
Ctrl + I auto Align
Ctrl +/comment lines, uncomment lines
Ctrl + Shift + < collapse code block
Ctrl + Shift + > Expand code block
Ctrl + [jumps to the head of the code block
Ctrl +] jumps to the end of the code block
Ctrl + L jumps to a row
Ctrl + F Find replaces the currently selected content, press CTRL+F, and will list all the same statements as your selection
Ctrl + Shift + F Find content


F5 Start Debugging
Shift + F5 Stop Debugging
F9 setting and canceling breakpoints
F10 Single Step forward
F11 Single Step entry function
Shift + F11 Single Step out function

ALT + LEFT ARROW cursor returns to previous position

ALT + right mouse cursor returns to next position

Ctrl + Shift + up moves the current line code up one line

Ctrl + Shift + down moves the current line code down one line


QT Creator shortcut keys

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.