Android Studio uses shortcut keys Daquan

Source: Internet
Author: User

The next Android
Studio uses the tutorial, mainly for the introduction of the Android Studio shortcut keys, if we have mastered some of the common shortcut keys, then the use of Android
Studio will achieve a multiplier effect in the process.

----Common shortcut keys

1.ctrl+e, you can display a list of recently edited files

2.shift+click can close files

3.ctrl+[or] can jump to the beginning of the curly brace

4.ctrl+shift+backspace can jump to the last edited place

5.CTRL+F12, the structure of the current file can be displayed

6.ctrl+f7 can query the current element's reference in the current file, and then press F3 to select

7.ctrl+n, you can quickly open the class

8.ctrl+shift+n, you can quickly open files

9.alt+q can see the declaration of the current method

10.ctrl+w can select words followed by statements followed by functions.

11.ALT+F1 you can position the element you are editing in each panel

12.ctrl+p, can display parameter information

13.ctrl+shift+insert can select Clipboard contents and insert

14.alt+insert can generate constructors/getter/setter, etc.

15.ctrl+alt+v
Variables can be introduced. For example, to assign a variable to a SQL in parentheses

16.ctrl+alt+t can wrap code inside a piece, such as Try/catch

17.alt+up
And Alt+down can be moved quickly between methods

----infrequently used shortcut keys

18. In some places press Alt+enter to get some intention
Action, for example, change "= =" to "Equals ()"

19.ctrl+shift+alt+n to quickly open symbols

20.ctrl+shift+space can give smart hints in many cases

21.ALT+F3 can quickly find

22.ctrl+/and ctrl+shift+/can annotate code

23.ctrl+alt+b can jump to the implementation of an abstract method

24.ctrl+o can choose a method of the parent class to override

25.ctrl+q can see Javadoc

26.ctrl+alt+space is the class name auto-complete

27. When opening a class/file/symbol quickly, you can use wildcards or use abbreviations

28.Live
templates! Ctrl+j

29.ctrl+shift+f7 can highlight the current element's use in the current file

30.ctrl+alt+up
/ctrl+alt+down can quickly jump to search results

31.ctrl+shift+j can integrate two lines

32.alt+f8 is the value of the calculated variable



Android Studio uses shortcut keys Daquan

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.