Super practical Qt shortcuts

F4: Switch between the header file and resource program file with the same name.
F2: Trace the symbol under the cursor. If it is a variable, you can trace to the place where the variable is declared; if it is a function body or a function declaration, you can switch between the two
Shift+F2 : Switch between function prototype and function implementation
Ctrl+Shift+R: Change the name of the symbol at the cursor, this will replace all the places where the symbol is used
Ctrl+I: Automatically indent the selected text
Ctrl+/: is Select text to comment symbol or uncomment
F1: to view the help document at the cursor, press twice to enlarge the help document
Ctrl+shift+s: save all the files
Ctrl+F: bring up the Find/Replace dialog box
F3: find the next
Ctrl+ B: Compile the current project
F5: Start debugging
F10: Debug a single step, that is, execute the current statement
F11: Enter the debug trace, enter the function body
F9: Set or cancel the current line breakpoint
Alt+0: Hide the left sidebar
Alt+ <-: Switch files back
Alt+ ->: Switch files forward
Alt+v+v: Switch between normal mode and vi mode

Guess you like

Origin blog.csdn.net/weixin_50188452/article/details/113010591