After finishing the shortcut keys of OSX, it is natural to develop the environment shortcut keys, temporarily organized some of their own commonly used
In fact as many may use more than the shortcut key is completely with the Mac text editing shortcut keys, such as the cursor jump and select text, this part of the reference to that side of the good command+b: View the definition of the object, view the use of Command+option+b: view the implementation of the class Command +u: Go directly to the parent or parent method Option+fn+f6: Where is the lookup method used? FN+F4: Navigate to their declarations of properties, methods, classes, etc. command+i: View translations (using the Ectranslantion plugin) command+option+l: Format Code (aligned) Command+o;Control+o: Choose a method that can override (override) or implement (implement) Command+n/control+enter:generate Setter,getter, and so on Option+enter: prompt error resolution command+ P: Parameter hint option+shift+ space: class name hint Command+option+o: Optimize import (remove useless import) Command+d: Copy the current code to the next line command+ X: Cut the current row (if unchecked) Command+delete: Delete the current line option+shift+ up/down ARROW: Move the cursor up or down the line command+/: Comment Code (//) command+option+/: Comment Code (/**/) SHIFT+FN+F6: Change global name Command+shift+u: Case Conversion control+t: Open Refactoring Panel Command+option+m: Extract Method Command+option+f: Extracting a local variable into a member variable (ascending level) Command+option+p: Extracting an internal variable into a method's parameters Command+option+t:surround With:if, while, Try-catch, synchronized Command+e: Open the list of recently opened files Command+shift+e: Open a list of recently modified files Shift+shift: Full-Project Search command+f: Searching for command+g in files: Searching and locating to the next command+ Shift+enter: The cursor wraps directly from this line to the next line (add a row) Command+option+enter: The cursor is added to the line from this line, and the cursor is positioned to the beginning of the row
Androidstudio-osx commonly used shortcut key finishing