gibs
gibs

Reputation: 117

Android Studio - automatically write item from suggestions popup

In Android Studio I changed the tab key function from file > settings > keymap. I chose to remove all other bindings from tab key (mistake!!). And now I can't get auto-complete to work like before.

I want to select an item from the auto-complete pop-up then press tab to complete the word (I think this the default behaviour):

enter image description here

But when I press tab it "completes the sentence" and puts my cursor at the end of the line:

enter image description here

I don't want this, I want to just complete the word and the cursor to stay in place. This is my current configuration for tab:

enter image description here

How do I get the default behaviour back? I really don't want to reinstall Android Studio and it is driving me crazy.

--------------- edit ---------------

"Complete current statement" binding doesn't work:

enter image description here

Now when I press tab nothing happens, it doesn't auto complete at all.

Upvotes: 2

Views: 721

Answers (1)

gibs
gibs

Reputation: 117

Found the problem. Had to bind "Choose lookup item replace" to tab key to get the default / correct behaviour. enter image description here

Upvotes: 2

Related Questions