views:

70

answers:

3

Hello, 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 you put '.' (dot) token after class name which shows the list of methods.

thank you all.

+5  A: 

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.

alt text

nanda
BRAVO the answer! I've using Eclipse for 3 years now and you taught me! thanks.
Yoon Lee
+2  A: 

It comes by default with eclipse.

You need to press . then ctrl + spacebar

org.life.java
A: 

If ctrl + space doesn't work, you may try Alt + /

qichuan