Androidstudio-osx commonly used shortcut key finishing

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.