What I was trying to do was to use a class that is in the project library; I mean that the project in its configuration (Java Build Path -> Libraries) have a custom Library; and I wanted to use the autocompletion for that Library.
First Try: I used the plain myclass. and nothing happens.
Second try: I tried ArrayList. CTRL-SPACE and it worked.
Third Try: I tried mypackage. CTRL-SPACE and nothing happens.
Fourth Try: I tryed mypackage.myclass ob = new mypackage. CTRL-SPACE and nothing Happens.
Fifth Try: I tried mypackage.myclass ob = new mypackage.myclass() ; ob. and it Worked!
Sixth Try:
Added <@ page import=”mypackage.*”> to the Header of the JSP.
Tried: mypackage. CTRL-SPACE and Nothing Happens.
Seventh Try:
Added <@ page import=”mypackage.*”> to the Header of the JSP.
Tried: myclass CTRL-SPACE and it Works as Spected!!. It shows a List with the posibilities of myclass. Allowing me to select mypackage.myclass. Then the IDE adds a new Header to the page to include mypackage.myclasss class.
Conclusion:
I was able to work arround the Autocomplete 😀
I hope this post helps identifying the fix.
Saludos
Alejandro