Why does the eclipse AutoComplete function not working inside the OnClickListener?

0
I was writing my code normally when I realized that Eclipse (the program I'm using to make Android applications) is not completing my words, for example: I have a variable called 'Functions' when I type' Func 'and press Ctrl + Space does not appear the options for me to choose.

But the strange thing is that it works out of OnClickListener , that is, if I write any code within OnClickListener Eclipse does not complete nor the common codes. Before I typed for and pressed Crtl + Space and it gave me suggestions like Foreach .

I have tried to mark the Java Proposals options in Eclipse Settings, but it still does not work. Why is this happening?

    
asked by anonymous 23.04.2014 / 16:55

1 answer

1

Try restore default options in ' Windows > Preferences > Java > Editor > Content Assist > Advanced '

An example of the type of data you will see on this screen, which may differ from what you actually have.

(By Vadim in this post blog post" Content Assist Duplicates in Eclipse (Mylyn) ": if duplicate Mylyn entries have been removed, uncheck any duplicates that do not contain the word " (Mylyn) " on your behalf)

A Eclipse help page Defines default values:

  

Select the proposal types contained in the 'default' content assist list :

     
  • Other Java Proposals,
  •   
  • SWT Template Proposals,
  •   
  • Template Proposals,
  •   
  • Type Proposals
  •   

Source: link

    
23.04.2014 / 17:35