Biscuit128
Biscuit128

Reputation: 5408

Eclipse - Method Suggestion Issues

I was wondering if anyone could help me with an issue with Eclipse.

Since I changed the packages in Eclipse, something has changed with the auto completion tool. I can no longer see any public methods when writing the ., however, if I manually type the line in there is no compile error.

Does anyone know how I might go about fixing this?

Upvotes: 17

Views: 29296

Answers (3)

Bikash Singh
Bikash Singh

Reputation: 291

Go to Preferences > Java > Editor > Content Assist > Advanced Select Java Proposal. Please see the screenshot for more details.

enter image description here

Upvotes: 13

Vinita Shah
Vinita Shah

Reputation: 118

The comment from Sorin is the only answer that worked for me:

... what worked was Close Project, then Open Project, and finally Clean Project.

Upvotes: 2

nwinkler
nwinkler

Reputation: 54517

I've had this issue before, and for me, the content assist settings were broken. The following fixed it:

  • Open Eclipse Preferences
  • Go to Preferences > Java > Editor > Content Assist > Advanced
  • Make sure that Other Java Proposals is selected in the list of proposal kinds.

Upvotes: 39

Related Questions