How to Set Automatic Code prompts for Android Studio

Source: Internet
Author: User

How to Set Automatic Code prompts for Android Studio

When using Eclipse, you can set it to prompt the Code no matter you enter any letters. It can also be used in Android Studio.

It is easier to set than Eclipse. Of course, if you think that the automatic code prompt will reduce your code level, you can also not set it.

If you forget it for a while, you can use the shortcut key prompted by the Code. What are the shortcut keys prompted by the android studio code? Read this article:

[Android Studio shortcut key] code prompt

Next, let's talk about how to set Automatic Code prompts,

The figure contains a lot of content. I divide it into six regions by region:


Area 1: This option is about how to match the prompt, that is, to search the prompt content according to the condition. <喎?http: www.bkjia.com kf ware vc " target="_blank" class="keylink"> VcD4KPHA + fingerprint/u9 + NDQyKvGpcXko6zE3MirxqXF5MbwwLS1xNfWt/fingerprint + fingerprint = "http://www.2cto.com/uploadfile/Collfiles/20141011/2014101108340052.jpg" alt = "\">

None:

Android Studio may not be complete.

If you don't want to be so troublesome, you don't have to worry about what's going on with these three items. Simply choose all. This is a method that prompts matching and doesn't care about it.

Area 2: This area is actually related to the code prompt shortcut key, which means that if I have not set the pop-up automatic prompt box, when you enter the content, you press the code prompt shortcut key, if there is only one matching prompt, do you want to automatically complete it.

Area 3: This is the sorting rule for the Automatic code prompt list. There are two sorting methods: lexical and relevance. You can select the sorting order in the lower-right corner of your point, don't worry about it. I personally think it is of little use.

Area 4: This option is a very important option, which means whether to bring up the code auto-completion prompt box, which is actually the core of this article. You only need to check this box when setting the code auto-prompt. Option 2: Insert selected... ect. this option indicates that if you select an item in the prompt list and click (.) other keys can be directly supplemented (in fact, when other keys are press enter, the Code selected for you will be directly supplemented)

Area 5: whether the value automatically pops up the document about the completed item you selected. To put it bluntly, it is a description of the completed code you selected, such as the parameter description, complete the code description. But I did not check it out. I don't know if it is a problem with my operations, but it is estimated that it is also a bug in Android Studio. Since the use of AS, many options are found to be ineffective.

Area 6: This area is a display definition of the method name or parameter return value in the pop-up box. However, this personal feeling is also a bug. The result is the same as that of no selection. Don't worry.

Related Article

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.