Viktor Johansson
Viktor Johansson

Reputation: 1

Eclipse quick fix not working properly

I am very new to Eclipse, java programming and well all "programming" in general and I have recently been learning how to use Eclipse. I've been using it for about a week now and it has been going decent so far. Apart from some errors,(mostly on my part) that has been fixable by restarting the program itself.

However when I started using it today I could no longer see the suggestions made from the Quick Fix command, for example if I type findVi and then press CTRL+1, it shows "No suggestions available" instead of "findViewById()" or something similar.

I know it's the correct binding, I even reset the keys to default to be sure. It still finds the ID if i type it manually but I would like to able to finish words faster that way.

If you guys got any suggestions that can help me out, please let me know.

Thanks.

Upvotes: 0

Views: 9280

Answers (2)

Kumar Vivek Mitra
Kumar Vivek Mitra

Reputation: 33544

- First of all if you are new with Java, and want to practice Java, you should NEVER USE ANY IDE, that way you learn the proper syntax, and it helps your error finding skills.

- But as you wrote "findViewById()" it seems that you are doing Android, Now this happens sometimes that Eclipse behaves weirdly with Android. Thats the reason when you make any changes into your Eclipse GUI while working with Android, its always better to see if those changes have taken effect.

- This problem usually goes off after closing and re-opening the Eclipse once or twice.

- Ok try this....

Type findVie then press Ctrl + Space-Bar See if the suggestion pops up...

Upvotes: 1

calsign
calsign

Reputation: 341

You can access the Content Assist preferences from Window > Preferences > Java > Editor > Content Assist... perhaps something got messed up.

Upvotes: 0

Related Questions