0

I have this problem with my Eclipse:

When I create a new type and I write "." after it's name to get all the methods that relate to it, nothing happens.

For example:

int[] exmp= new int [5];
exmp.?

I don't get any of the methods that relate to array.

Another example:

Public class Example{
 private int example;
 this.?

I don't get an automatic completion for this.example

Does somenoe know how to fix it? Thank you.

asked May 26, 2011 at 18:12
4
  • 1
    Check this question to see if it helps. stackoverflow.com/questions/5373993/… you can also use ctrl+space to open the menu Commented May 26, 2011 at 18:19
  • I'll be happy to hear an explanation for the close voting. Commented May 26, 2011 at 18:19
  • What eclipse are you using? Also, if you type "exmp." then hit ctrl+ space, does it show up? Commented May 26, 2011 at 18:22
  • @ Joseph: I use Helios Service Release 2, And no, It does not show up/ Commented May 26, 2011 at 18:30

4 Answers 4

1

Excerpt from this helpful link. This fixed it for me about 2 hours ago.

Configure Eclipse’s content assist, go "Preferences>Java>Editor>Content Assist>Advanced". Make sure "Other Java Proposals" is ticked

answered May 26, 2011 at 19:22
Sign up to request clarification or add additional context in comments.

Comments

0

Perhaps related to the build path. I've tried this after changing the location of my android sdk. My project properties/Libraries was still pointing to the wrong location. Editing it with the correct path fixed it.

answered May 26, 2011 at 18:17

Comments

0

Have you got your Auto Activation settings turned on?

You need to make sure that the "." character is present - I normally enter all letters on the keyboard so I get content assist quickly. You can see it in the "Auto activation triggers for Java" box below:

answered May 26, 2011 at 18:24

Comments

0

Are you using the Java editor? It sounds like you are just using Eclipse text editor. Try saving the file as *.java and reopening. That should make sure you are using the right editor.

answered May 26, 2011 at 19:22

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.