[Android] eclipse smart prompt

Source: Internet
Author: User

If you use the default smart prompt when using eclipse, it will be depressing (only input. and jumps out in 0.2 seconds. If you have used vs, you will surely feel that the development efficiency of eclipse is too low.

This is not the case. Eclipse is actually very powerful, the key is whether you will set it.

1: Open eclipse, window-> preferences-> JAVA-> Editor-> content assist

2: Modify auto-activation on the right.

I. Auto activation delay is a smart prompt response time (MS)

Ii. Auto activation triggers for Java: What triggers Java smart prompts (default .)--If you want to enter a-Z and so on, you only need to modify it here, but some eclipse can only enter 4 characters, so it is relatively difficult to set it.

Iii. Auto activation triggers for javadoc what triggers the javadoc smart prompt (not used)

If auto activation triggers for Java can only contain 4 characters, perform the following operations.

1: Open eclipse, window-> preferences-> JAVA-> Editor-> content assist

2. Select Content assist

3. Add the ABC letter (Facilitate subsequent search and modification). Then, "Apply" and click "OK ".

4. Then, select "file"> "Export", select "perferences" in the pop-up window, and click "Next ".

5. Select the export file path, enter "test" as the file name, and click "save ".

6. Find the file "test. EPF" and open and edit it in notepad.

7. You can see a lot of eclipse configuration information.

8. search for the. ABC string.

9. Change. ABC to. _ abcdefghijklmnopqrstuvwxyz. Save and disable "test. EPF ".

10. return to the eclipse interface, file-> Import, select perferences in the pop-up window, click "Next", and select the modified "test. EPF file, click open, and click Finish"

The operation is complete.Corresponding character(Of course, other files such as JS and HTML (JSP) can be configured in this way to implement smart prompts. The operations are as follows:

JS: Javascript → editor → content Assis.HTML (JSP): Web → HTML files → editor → content assist)

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.