I am using the latest Android SDK (2.1-update1 - Level 7) but I am finding that the intellisense is rather poor in Eclipse. Is it just me or is anyone else experiencing intellisense issues with Android SDK?
Specifically, suppose I type - LinearLayout layout = new LinearLayout(this);and then I start typing layout.and then I hit Ctrl+Space, I expect to get a suggestion box with all the available methods for the layout object but I get nada.
arunabhdas
2010-08-16 04:56:34
Being a .NET develper myself, I understand your issues. Eclipse generally has the same features, but are handled a bit differently. In Eclipse, auto-activation requires a trigger. By default it is the "." character. In Visual Stuido, auto-activation does not require a trigger. So when you type "l", the popup appears automatically. In Eclipse, if you want to see suggestions before typing "layout.", you have to hit [Ctrl-Space] to see the suggestions for the current context. The settings that control this behavior can be found at: Window -> Preferences -> Java -> Editor -> Content Assist
Dan
2010-08-16 18:07:54
Is there some setting in Eclipse that I have to set. I thought the Android SDK would take care of the setting.
arunabhdas
2010-08-16 04:57:07
A:
Also here is it no problem. If I write
LinearLayout layout = new LinearLayout(this);
And then
layout.
There are alot of suggestions. You have to type till you receive the dot. After the dot you'll get those suggestions :)
Keenora Fluffball
2010-08-16 07:05:28
A:
actually you shouldn't even need to press Ctrl+Space - the suggestion should come up after typing the "." as well
just to make sure: are you aware of the fact that you need to install the ADT Plugin for Eclipse additionally to the Android SDK when you develop in Eclipse?
Martin
2010-08-16 09:39:27