Android Studio shortcut Keys Daquan

Source: Internet
Author: User
<span id="Label3"></p><p><p><br></p></p><br> <table> <tbody> <tr> <td style="word-break: break-all;">Ait + Enter</td> <td style="word-break: break-all;">Tips</td> </tr> <tr> <td style="word-break: break-all;">Ctrl+ait+l</td> <td style="word-break: break-all;">Formatting</td> </tr> <tr> <td style="word-break: break-all;">Ctrl+y</td> <td style="word-break: break-all;">Delete Bank</td> </tr> <tr> <td style="word-break: break-all;">Alt + Shift + up/down</td> <td style="word-break: break-all;">Move our code up and down</td> </tr> <tr> <td style="word-break: break-all;">Alt + Ctrl + O</td> <td style="word-break: break-all;">Clear Invalid Package</td> </tr> <tr> <td style="word-break: break-all;">Ctrl + O</td> <td style="word-break: break-all;">Quick Overwrite Method</td> </tr> <tr> <td style="word-break: break-all;">Shift+f6</td> <td style="word-break: break-all;">Renaming</td> </tr> <tr> <td style="word-break: break-all;">Ctrl + Shift + U</td> <td style="word-break: break-all;">Uppercase and lowercase conversions</td> </tr> <tr> <td style="word-break: break-all;">Ctrl + Alt + H</td> <td style="word-break: break-all;">Find the location of the call</td> </tr> <tr> <td><br></td> <td><br></td> </tr> </tbody> </table><p><p><br></p></p><p>1, ALT + F8: calculated Value.<br>2, ctrl+f7: Quick Find.<br>3. Ctrl+h: View the inheritance Relationship.<br>4, ctrl+p: prompt to effectively explain the Parameters.<br>5, Ctrl+alt+v: Extract Variables.<br>6, shift+f6: Rename.<br>7, shift+ left: Close the Label.<br>8, Ctrl+d: set up the copy and paste two operations, if there is a selected part of the copy of the selected section, and after the selected part of the paste out, if there is no selected part, copy the line of the cursor, and paste it under the Line.<br>9, Ctrl + Space: Enter the code when you press this key combination will list the matching class, method name, member variables, etc., the role of Smart Hints. is as useful as editing an XML file.<br>10. Ctrl + DOWN ARROW or CTRL + Up arrow: when there is an Auto-match drop-down list, This shortcut automatically closes the Drop-down list and the cursor moves to the next/previous line.<br>11, Automatic matching Drop-down list of the arrangement of the switch: in the Auto-match drop-down list in the lower right corner there is a "π" icon, click on the optional is by: practicality, the letter two Arrangement.<br>12. Ctrl + Slash: Comment or uncomment the current line or the selected code block in a double slash, i.e. "//"<br>13. ctrl+shift+ Slash: Comment or uncomment the selected code block and comment in "/*......*/" mode,<br>14, Ctrl+shift+enter: automatic matching of the corresponding grammatical structure, such as If,do-while,try-catch Structure.<br>15, Ctrl+f: Search<br>16. Ctrl + Period: in the Auto-match drop-down list, Select the first item<br>17, exclamation point: in the Auto-match drop-down list, the upper and lower keys select an item that returns a boolean, and the exclamation point automatically takes the Reverse.<br>18. Ctrl+enter: in the Auto-match drop-down list, the first item is selected by default when no item is Selected.<br>19. Ctrl+shift+a: quickly find the menu in Android Studio.<br>20, Ctrl + N: Quickly find the class name, File.<br>21. Ctrl+b: Jump directly to the definition of class, method, member Variable. Same as CTRL + Mouse left button Effect.<br>22, ctrl+alt+b: query which class implements the interface where the cursor is Located.<br>23, Ctrl+alt+shift+i: detection code, such as the detection of some definitions, but no use of variables or METHODS. The purpose of detection is to improve code EFFICIENCY.<br>24, ctrl+alt+shift+n: quickly open the input method or Variable.<br>25, ctrl+shift+f7: to highlight the form of a number of related things, here mainly by three kinds of situations:<br>(1) the position of the cursor in the implement, the class implementation of the interface method name to sign out;<br>(2) the position of the cursor at return, will mark out the method of all exit places;<br>(3) when the cursor is at the try or throws keyword, the statement that produces an exception is Flagged.<br>26, shift+ Mouse scrolling: can realize the horizontal scrolling of the editing interface.<br>27. Ctrl+alt+v: When the parameter passed in when calling a method is a more complex expression, this key combination can be used to refactor the variable to simplify the complexity of the Code. Select the expression before you can combine the Keys.<br>28, Ctrl+o: subclasses when you want to override a method of a parent class, press this key combination to display the methods of all the parent Classes. Ctrl+i when the key combination of the interface corresponds.<br>29, Ctrl+shift+i: Quick Look at the method body, want to see how a method is implemented, you can move the cursor to the method, press this key Combination.<br>30, Ctrl+q: Move the cursor to the method, press this key combination to quickly see the description of the method Document.<br>31, ctrl+~: Switch the editing interface style, shortcut key DESIGN.<br>32, Alt+shift+c: See the latest modification of the Project.<br>33. ctrl+e: quickly view open files that have been opened recently.<br>34, shift+f6: The class, methods, variables can be renamed, the use of the place will automatically update the Name.<br>35, alt+f1: quickly open project view, structure view, and so on to view the corresponding Elements.<br>36. ctrl+alt+f7: View the usage of a class, method, member variable throughout the Project.<br>37. ctrl+shift+ spaces: Lists the method name, member variable name of the type match, when assigning or in the method to pass in a parameter.<br>38, Ctrl+alt+t: Select a piece of code, press this key combination, you can quickly add if, for, Try/catch and other Statements.<br>39, ctrl+tab: Open the interface switch window, hold down the CTRL key, select the appropriate window to Open.<br>40. Ctrl+w: Select the word where the cursor is located (a member variable or a method name), press one more time to select the statement, and then press one more time to select the code block ... Each increment, in turn, expands the range of the selected Level.<br>These are the 40 shortcuts that are commonly used in Android studio, and if you feel that useful children's shoes can be collected, use these shortcuts when writing Android code to make your development easier and faster.</p><p><p>Android Studio shortcut Keys Daquan</p></p></span>

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.