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