Eclipse Smart Tips

Source: Internet
Author: User

Original address: http://www.cnblogs.com/myitm/archive/2010/12/17/1909194.html

Windows→preferences→java→editor→content Assist

We see that the default value of Autoactivation delay is 200 (in milliseconds) which means "." Then stay 200 milliseconds before IntelliSense prompts appear. So what happens when you change it to 20? Try to change to 20 after the prompt speed significantly increased, can be achieved with the times ...:)

OK, the prompt time was last modified. This time it modifies its trigger for IntelliSense. That is, to make it a powerful perceptual function like our visual Studio2008, that input s can prompt for all of the features that start with the S keyword. Quite simply, the option auto Activation triggers for Java value, will be the original trigger "." Modify to "." + 26x2 Letters. Well? Why the 26x2? Because the letter score case, uppercase 26, lowercase 26, of course, 26x2!

Here's how:

Navigate to: Windows→preferences→java→editor→content Assist

Then modify: Auto Activation triggers for Java default value "." To ". ABC". Then file→export→preferences→ export to a file (assuming TEST.EPF), then open test.epf with Notepad, search for ". ABC" and change it to ". ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVW ", save.

Then File→import→preferences→test.epf,ok, then write the Java program.

You can try it yourself, but first look at my effect as well:

Input SYS IntelliSense:

We know that in VS, the code block of try is entered in try, then two tab key, then this function can also be implemented at this time:

Click "Enter" to see the following code block:

What do you think? Is practicality very strong? I believe it can make your development more efficient several times.

In fact, the above try {}catch{} code block we can also set ourselves. Here does not elaborate, has the interest to be able to grope for oneself.

Eclipse Smart Tips

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.