Original address: http://blog.csdn.net/sz_bdqn/article/details/4956162
A bit of time today to study the myeclispse of the intelligent perception of the function. When I first started using it, I always felt so uncomfortable. → IntelliSense is too weak! and visual Studio2008 is simply not a grade! But later, after looking at the information on the Internet, I found that it was not so weak, just last week when I played with it I found that I could modify its IntelliSense cue time by setting the following:
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.