Reputation: 173
Hi I have a problem with Eclipse that , after i type a variable and then a '.'
the possible functions are not being autocompleted or shown as drop down.. (For example string str = "hello"; then str. should show me something like length() or substring() ) I have already tried everything with eclipse settings as seen in this link :
Improving Eclipse autocompletion?
But it doesnt work. (Am using Java, mac ,eclipse)
Also when it shows no SWT proposals, and No default proposals, hoever if i give a space instead of '.' it shows some proposals ...
Any suggestions are appreciated..
Upvotes: 0
Views: 147
Reputation: 57
Did you try the shortcut Ctrl+Space? (you may have to click space more than once)
Upvotes: 1
Reputation: 173
problem is solved by checking JavaProposals, JavaTypeProposals in ContentAssit > Advanced
Upvotes: 0
Reputation: 2279
As your example suggests
(For example string str = "hello"; then str.
Change it to
(For example String str = "hello"; then str.
uppercase S
in String, it will work. :)
Upvotes: 1