Eclipse Code hint Configuration

Source: Internet
Author: User

Open MyEclipse 6.5, then "window" → "Preferences"

2. Select "Java", expand, "Editor", and select "Content Assist".

3. Select "Content Assist" and see the "Auto Activation triggers for Java" option under "Auto-activation" on the right and right. In fact, it means the "." Symbol that triggers the code hint.

4. "Auto Activation triggers for Java" option in "." After the addition of ABC letters, convenient to find the following changes. Then "Apply" and click "OK".

5. Then, "File" → "Export", in the pop-up window select "Perferences", click "Next".

6. Select the export file path, I export to the desktop, enter "test" as the file name, click "Save".

7. On the desktop, locate the file "TEST.EPF" that you just saved, and right-click theNotepadOpen the.

8. You can see a lot of configuration MyEclipse 6.5 information

9. Press "CTRL + F" shortcut key, enter ". ABC" and click "Find Next".

10. Find the ". ABC" ConfigurationInformationAs follows:

11. Change ". abc" to ". ABCDEFGHIJKLMNOPQRSTUVWXYZ (,", Save, Close "TEST.EPF").

12. Go back to the MyEclipse 6.5 interface, "file" → "Import", in the pop-up window select "Perferences", click "Next", select just in the modified "TEST.EPF" file, click "Open", click "Finish". This step is similar to the export step above.

13. Finally, of course, the code is tested. Create a newProject , create a new class. Test in code input switch, foreach, and so on. You will immediately find that the hint, and no matter which letter will have a lot of relevant hints, very smooth, very convenient. Summary: The "Auto Activation triggers for java" option refers to the option to trigger the code hint, "." Change to ". ABCDEFGHIJKLMNOPQRSTUVWXYZ (," means that it encounters 26 letters and.) (These symbols trigger the code hinting function.) Of course, ". ABCDEFGHIJKLMNOPQRSTUVWXYZ (," Here can also add capital letters and some other symbols, specific, self-setting and adjusting yourself as needed.)

This Auto activation delay is the time to set the delay for triggering the code hint. 200 refers to 200ms, is the default value, you can also set as needed.

Eclipse Code hint Configuration

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.