Here's the scenario:
Start typing a new undeclared variable name, such as "label"
Immediately, autocompletion pops up, with "msg_labels_t" preselected.
If you then type "=", appcode changes "label" to "msg_labels_t" and then inserts the "=". The only way to avoid this is to hit Escape to dismiss autocompletion before typing "=".
These characters will cause appcode to insert the preselected autocompletion:
These characters will cause appcode to dismiss autocompletion without inserting the preselection:
So what's the rule for which keyboard events automatically insert the preselected autocompletion choice? Is there a way around this? I remember Idea introduced this behavior a while back, and I can't remember how I worked around it there.
Since I always create new variables by typing the new name and use intentions to create the variable for me, this bites me a lot. To make it more annoying, the escape key is really tiny on my keyboard.