Eclipse smart Configuration

Source: Internet
Author: User

It may be a habit to use vs for a long time. I always hope that eclipse will have such smart prompts to help programming. I saw a great introduction from the blog. I decided to turn it over and save it:

OriginalArticle: Http://www.cnblogs.com/myitm/archive/2010/12/17/1909194.html

Today, I have studied the smart sensing function of myeclispse. When I first started using it, I always felt so uncomfortable → the smart sensing function was too weak! Visual studio2008 is not a class! However, after checking the information on the Internet, I found that it was not so weak. When I played with it last week, I found that I could modify the prompt time that I could perceive through the following settings:

Windows → preferences → Java → editor → content assist

We can see that the default value of autoactivation delay is 200 (unit: milliseconds). That is to say, the smart sensing prompt is displayed only after "." is played. So what if I change it to 20? Try it. After it is changed to 20, the system prompts a significant increase in speed, which can keep pace with the times ...... :)

OK. The last modified prompt time. Modify the trigger that triggers Intelligent Sensing this time. That is to say, make it a powerful sensing function like our visual studio2008, that is, input s to prompt all the functions such as the keyword starting with S. It is easy to set the value of auto activation triggers for Java, and change the original trigger "." To "." + 26 × 2 letters. Hmm? Why is it 26 × 2? Because the letters are case-sensitive, 26 in upper case and 26 in lower case. Of course 26 × 2 is the case!

The procedure is as follows:

Go to: Windows → preferences → Java → editor → content assist

Then modify the default value "." of auto activation triggers for Java to ". ABC ". Next, file → export → preferences → export to a certain file (assumed as test. and open test. EPF, search ". ABC "and then change it ". abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvw ", save.

Then file → import → preferences → test. EPF, OK, and write JavaProgram.

You can try it yourself, but it is better to check the effect first:

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.