I've started up with developing Java.
However, These days I've started iPhone project and gave me lazy writing code;auto code generate functionality in xCode.
Are there any non-pay free edition add-on exist that does similar to xCode? I mean, I do know Eclipse already has partial auto method look up when 开发者_Go百科you put '.' (dot) token after class name which shows the list of methods.
thank you all.
The functionality is called content assist
in Eclipse. It comes as default.
To trigger content assist, normally you have to click Ctrl+Space
(Windows/Linux). But as you said, on Java it will be auto-activated when user press .
.
You can however change this behavior. Go to Preferences -> Java -> Editor -> Content Assist
and change the Auto activation triggers for Java
.
For example to get the behavior of xCode, you could change it to ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz.
It comes by default with eclipse.
You need to press .
then ctrl + spacebar
If ctrl + space
doesn't work, you may try Alt + /
I used to think the autocompletion was slow, but it turns out you can make it instant. Go to Window / Preferences / Java / Editor / Content Assist / Auto-Activation and decrease Auto activation delay to zero.
I've been using Code Recommends
. This is a very useful Eclipse plugin you must have.
One of my most favorite functionality is
Subwords Completion
(you don't need to remember exactly the first letter of method's name, just type in other whatever letter you remember even they're inside).
It also offers many other functionality that may meet your need.
精彩评论