Self-developed java programming assistant Software on eclipse

Source: Internet
Author: User

Enhance the code prompt function of Eclipse and MyEclipse. How can I configure it? The steps below are as follows: 1 has passed the 6.0 and 6.5 tests. open MyEclipse 6.0.1, and then "window" → "Preferences" 2. select "java", expand, "Editor", and select "Content Assist ". 3. Select "Content Assist" and then see the "Auto Activation triggers for java" option under "Auto-Activation" on the right. In fact, it refers to the "." symbol that triggers the code prompt. "Auto activation delay" is a latency, which can be set as needed. I set the 10 4. "Auto Activation triggers for java" option, and add the abc letter after "." To facilitate later search and modification. Then, "apply" and click "OK ". 5. Then, select "File"> "Export", select "Perferences" in the pop-up window, and click "Next ". 6. Select the export file path, export it to the desktop, enter "test" as the file name, and click "save ". 7. Find the file "test. epf" you just saved on the desktop, right-click and choose "open with Notepad ". 8. You can see a lot of information about configuring MyEclipse 6.0.1. 9. Press the "ctrl + F" shortcut key, enter ". abc", and click "find next ". 10. find ". the configuration information of abc is as follows:/instance/org. eclipse. jdt. ui/content_cmd_autoactivation_triggers_java =. abc 11. set ". abc "to". abcdefghijklmnopqrstuvwxyz ", save, and disable" test. epf ". 12. return to the MyEclipse 6.0.1 interface, "File" → "Import", select "Perferences" in the pop-up window, click "Next", and select the modified "test. open the epf file and click Finish ". This step is similar to the preceding export step. 13. Finally, of course, the code is tested. Create a project and a class. Enter switch and foreach in the Code for testing. You will immediately find that there are prompts, and there will be a lot of related prompts no matter which letter you typed, It is smooth and convenient. Conclusion: The "Auto Activation triggers for java" option refers to the option that triggers the code prompt. "to". abcdefghijklmnopqrstuvwxyz (, "refers to 26 letters and ., (These symbols trigger the code prompt function. By the way, you can modify the class name and interface name highlighted in different colors. You can configure it in "java"> "enditor"> "syntac ", expand "java"> "classes" on the right side, check the "Enable" option, and select your preferred color. Of course there are other related color configurations. Not to mention it. In fact, there are many items that can be configured in the "Preferences" to optimize MyEclipse. Specifically, You need to configure them according to your personal Preferences.

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.