I’m trying to learn some Android and java programming in Eclipse. I can run sample projects and tutorials fine, but when I try to create a new java class with File->New->Class and press the Browse button to look for superclasses to use, nothing shows up in the “Matching items:” area, even when I delete the “java.lang.Object” default type. I should be seeing lots of class names there, shouldn’t I?
The same lack of results happens when I try to add and interface or an enclosing type. I’m new to Eclipse and java. I suppose that I have some setting messed up? I’m running the most recent Eclipse on Linux:
Version: Indigo Service Release 1
Build id: 20110916-0149
I eventually realized that code completion was not working either. I checked the settings in ‘Windows > Preferences > Java > Editor > Content Assist > Advanced’ and they seemed OK. I then re-ran with ‘eclipse -clean’. After I did that, code completion and the new class wizard are working.
Thanks