Is there no autcomplete in Eclipse? I've looked around and haven't found any guides for setting it up. I guess autocomplete doesn't really describe it, I'm more looking for API Intellisense. For instance, I type:
setContentView(R. [ctrl+space]
I get nothing when I hit ctrl+space, regardless of how many times I hit it. Alt+\ doesn't do anything, since there's no word to complete.
Is this just a limitation of eclipse?
And please, if you're gonna be a purist and say "you should know your api's better" please keep it to yourself. I'm past that. I build software so that other people don't have to write SQL statements etc.
Mine works. Ctrl+Space should definitely pop up the suggestions.
Damn, now I'm gonna have to figure out why mine isn't working... so you're getting a list of members of the R class when you type "R. [ctrl+space]"?
OK I found something; the type proposals show up if I hit Edit -> Content Assist -> Type proposals. For some reason type proposals must not be in my list of proposals out of the box. So something in settings I'd guess. Will report back when I figure it out.
Window -> Preferences -> Java -> Editor -> Content Assist -> Advanced.
I had to check Type Proposals and move it to the top. Also put word proposals at the 2nd spot, not sure if that helps.
What a weird design decision, keeping type-based autocomplete turned off by default.
Edit: thanks for the sanity check there GasBot.
Which version of Eclipse did you download? Mine was on by default.
I have Ganymede 3.4.1
Should be on by default. I didn't even know you could turn it off and I've been using Eclipse since 2.x
Perhaps a plugin is messing with you settings?
Also, is it only with the Android-plugin-generated R class? I find that if there is a mistake in the manifest, the plugin fails to generate the R class and it disappears like a ninja...
I didn't try it with anything else before I tracked down the issue. Not sure what caused it, just glad I found it easily.
Bookmarks