1. CMD + ALT + R: Rename
Place the cursor over the variable name or method name, press the shortcut key combination, enter the new name to be changed, and press Enter.
2. Shift + enter and CMD + Shift + enter: line feed
Shift + enter creates a blank row under the current row, regardless of whether the cursor is at the end of the row. CMD + Shift + enter insert blank lines before this line.
3. Alt + direction key: Move the code line
You can move the content of the current row up or down. It can be especially used in try catch.
4. Use CTRL/CMD + one letter key
CMD + M is to narrow down the window to the dock.
CMD + D: Delete the code.
CMD + O: quick appearance of outline
CMD + T: displays the Current inheritance structure quickly
CTRL + Q: Go back to the last editing location
CTRL + M: Maximize the editor window.
5. CMD + Shift + B: set breakpoints
6, the original F1-F12 needs to press the FN key:
FN + F3 view Declaration