Is there a way to setup ADT such that the "Code assist" / autocomplete kicks in as soon as I start typing, without having to press Ctrl + Spacebar?
Basically, I'm an iOS developer starting out with Android, and I've gotten very used to the way Xcode autocomplete kicks in as soon as you start typing.
With ADT, it seems that once I type a "object.", the code assist kicks in, but if I want to use it save time typing out class variables, I have to actually press Ctrl+Spacebar, and this gets annoying.
Found the answer via this question: Auto code completion on Eclipse
Basically the auto activation trigger for auto-complete by default is set to only the character ".".
To make code assist / auto complete trigger always, you have to change the string to:
.abcdefghijklmnopqrstuvwxyz
In v21.x.x version of ADT, this is located in Preferences -> Java --> Editor --> Content Assist.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With