Common shortcut keys:
Ctrl + 1: quick fix ( Use this shortcut to quickly pop-up hints when the editor appears with a wavy red line )
Ctrl + d: Delete the line where the current cursor is located
Ctrl + z: Undo action from previous step
Ctrl + y: Redo the previous step
Ctrl + S: Quick Save
Ctrl + M: maximize/restore the edit window, maximize the editing window, and broaden the view to see the context code easily.
Ctrl + O: is the outline function, quickly list the methods and properties in the current class, when the code is very long, you do not have to pull down to look over the code. This is a very useful shortcut key.
Ctrl + Shift + O: Import Package
Ctrl + Shift + C: quickly comment forward or select multiple lines (this is a single line comment "//")
Ctrl + Shift +/: quickly collapse all code for the current class (for example, methods)
Ctrl + Shift + *: quickly expand all the code in the current class (as opposed to the previous action)
Ctrl + Shift + F: fast Formatting (quickly formatting code in the current class)
Alt +/: content Assist, this is also a very useful feature. It's you. When your code strikes halfway, or when you hit the first few letters, pressing this shortcut will prompt you for the method or the package you want to import.
Alt + arrow keys (↑, ↓, ←, →): moves the current line while up and down, and the left and RIGHT ARROW keys move the cursor to the previous or next edit point ( common key )
Alt + Shift + R: quickly rename. (toquickly rename a class name or member name, this is useful, equivalent to choosing the class name you specified and then right-selecting Rename.) Move the cursor to the class name or member variable there, press the shortcut key on it, just enter the new name press ENTER to automatically update all the names, easy to use! )
Alt + Shift + C: Modify the function structure (in the example, to change the GO1 () to the private type, when you press the quick and easy amount of time will appear this dialog box)
The above font bold is the most commonly used by the personal shortcut keys.