Android studio shortcut key, androidstudio

Source: Internet
Author: User

Android studio shortcut key, androidstudio

Features summarized by yourself:

Add Chinese Characters in xml to string. xml and use extract android string = Alt + Enter to call

 

---- Common shortcut keys

1. Ctrl + E to display the list of recently edited files

2. Shift + Click can close the file

3. Ctrl + [or] can jump to the beginning and end of braces

4. Press Ctrl + Shift + Backspace to jump to the Last edited location.

5. Press Ctrl + F12 to display the structure of the current file.

6. Ctrl + F7 can query the reference of the current element in the current file, and then press F3 to select

7. Ctrl + N to quickly open the class

8. Ctrl + Shift + N to quickly open the file

9. Alt + Q: You can see the declaration of the current method.

10. Ctrl + W can select the word and then the statement and then the row and then the Function

11. Alt + F1 can locate the elements being edited in each panel

12. Press Ctrl + P to display the parameter information.

13. Press Ctrl + Shift + Insert to select and Insert the clipboard content

14. Alt + Insert can generate Constructors/Getter/Setter, etc.

15. Ctrl + Alt + V can introduce variables. For example, assign the SQL statement in parentheses to a variable.

16. Ctrl + Alt + T can wrap the code in one piece, such as try/catch

17. Alt + Up and Alt + Down can be quickly moved between methods

 

18. Ctrl + Alt + L, format the code

19. Alt + Ctrl + O, clear invalid package reference

20. Ctrl + F, search

21. Ctrl + R, search + replace

22. Alt + Shift + Up/Down, move the code Up/Down

23. Ctrl + Y, delete the row

24. Quickly locate the beginning/end of a row, Ctrl + Left/Right

25. Collapse and expand the code block, Ctrl + Plus/Minus

26. Collapse and expand all code blocks, Ctrl + Shift + Plus, Minus

27. Locate the call location, Ctrl + Alt + H

28. case-sensitive conversion, Ctrl + Shift + U

29. Shift + F6 reconstruction-Rename

 

---- Infrequently used shortcut keys

1. In some cases, press Alt + Enter to get some Intention actions. For example, change "=" to "equals ()"

2. Ctrl + Shift + Alt + N can quickly open the symbol

3. Ctrl + Shift + Space provides Smart prompts in many cases

4. Alt + F3 can be quickly searched

5. Ctrl +/and Ctrl + Shift +/can annotate the code

6. Ctrl + Alt + B can jump to the implementation of the abstract method.

7. Ctrl + O you can select the parent class method for rewriting.

8. Ctrl + Q to view JavaDoc

9. Ctrl + Alt + Space is automatically completed by Class Name

10. wildcard characters or abbreviations can be used to quickly open a class/file/symbol.

11. Live Templates! Ctrl + J

12. Ctrl + Shift + F7 can highlight the use of the current element in the current file

13. Ctrl + Alt + Up/Ctrl + Alt + Down can quickly jump to the search results

14. Ctrl + Shift + J can be integrated into two rows

15. Alt + F8 is the variable value.

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.