Make ADT Code Assist work like Xcode autocomplete
Asked Answered
B

1

5

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.

Brattice answered 17/1, 2013 at 22:14 Comment(2)
This is a question about Eclipse, not Android.Ditty
It's about ADT, which is a version of Eclipse just for Android...Brattice
B
12

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.

Brattice answered 18/1, 2013 at 19:50 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.