Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Make ADT Code Assist work like Xcode autocomplete

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.

like image 848
ch3rryc0ke Avatar asked Jan 17 '13 22:01

ch3rryc0ke


1 Answers

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.

like image 177
ch3rryc0ke Avatar answered Nov 12 '22 13:11

ch3rryc0ke