From http://my.oschina.net/u/211101/blog/127822
Some open and new ones will not be mentioned ......
// First, I like it most. I often don't need it. I forget it. I used to like this shortcut most in eclipse.
// Switch the case to Ctrl + Shift + u .. Ctrl + u June 28, 2013 10:27:36
Bold brackets indicate that the shortcut key for the vassistx plug-in is installed.
Development phase:
CTRL + k-> C(/): Comment out a piece of code;
CTRL + k-> U(/): Uncomment a piece of code;
(// =)Add the standard comment before the class method in CPP;
(//-)Add personal information of developers, including host name and modification time;
Compilation phase:
CTRL + F7: compile a CPP file;
CTRL + Shift + B: recompile the entire project;
Debugging phase:
F5: run;
F9: add or delete a breakpoint in the current row;
CTRL + Shift + F9: delete all breakpoints;
F10: One-step execution, skipping the executed function body;
F11: One-step execution will go to the executed function body;
Shift + F11: jump out of the currently executed function body;
======================================
Common Shortcut Keys: (starting from the most common)
F9 // set the breakpoint
F5 // debug the program
F10 // one step
F11 // enter a function
Shift + F11 // jump out of a function
Shift + ALT + O // open the file name Search dialog box
Alt + G // jump to definition
Alt + O //. h/. cpp Switch
Alt + M // enter a part of the function name to view a function
Alt + <-// return to the previous view
Alt +-> // move forward to the next view (this shortcut is custom)
CTRL +} // If the cursor is at "{" at the time, jump to the matched "}". If the cursor is at "}", it will jump to the paired "{".
Alt + up arrow key // jump to the previous class or function
Alt + downward arrow key // jump to the next class or function
CTRL + // Add a comment (this shortcut is custom)
Shift + F9 // quickly view Variables
Alt + 3 // view the variable
Alt + 7 // view the stack
Alt + 6 // view memory
Shift + F5 // exit the debugging program
CTRL + F5 // run the program. Do not debug it.
F7 // compile (if there are a lot of warnings and some errors after compilation, you can click it again and then compile F7 again. At this time, only errors will occur, easy to locate errors .)
CTRL + I // input, incremental search (Real-time search)
CTRL + F3 // when selecting a word, jump to the next word (next to F3, Shift + F3)
CTRL + Shift + f // search for keywords in the file, current project, current document, open document, custom, etc.
CTRL + F2 // Add bookmarks to a row and then remove the bookmarks after one test.
F2 // jump to a bookmarks, and then click test to jump to the next bookmarks
Shift + F2 // jump to the previous bookmarks
CTRL +-> // jump to the end of a word
CTRL + <-// jump to the beginning of a word
CTRL + Shift +-> // select a word after the cursor
CTRL + Shift + <-// select a word before the cursor
Shift +-> // select the next letter. Each time a letter is added at a time
Shift + <-// select the first letter. Each time a letter is added
CTRL + Shift + space // when the cursor is in the function parameter, a list of function parameters is displayed.
CTRL + B // Add a breakpoint
CTRL + L // delete a row
CTRL + home // jump to the beginning of the document
CTRL + end // jump to the end of the document
Home // jump to the beginning of a row
End // jump to the end of a row
4. Alt + Shift + R:
When you want to change the name of a class or other things, you may have referenced this name in many places. At this time, you can press this shortcut key to conveniently rename it.
5. Alt + Shift + S:
It is convenient for you to find an object or variable.
6. Alt + Shift + O:
Locate the file. If there are too many project files, this will be very helpful. Of course, it is best to have a good standard for naming your file names.
7. Alt + Shift + F:
Place the cursor on a string. Press this key to find all the places that reference this string.