Page MenuHomePhabricator

Autocomplete for variable names stays open after entering characters which can't be part of the variable name
Open, Needs TriagePublic

Description

After pressing ? to enter a variable name, the autocomplete dropdown opens and stays open until (as far as I can tell) you either select an option or type a space, even if you've used a character that can't be part of the variable name (e.g. .; , )).

This means that if you type ?a ?b ?c. and press enter, you get ?a ?b ?c.SELECT even though ?a ?b ?c . or ?a ?b ?c. (note trailing space) followed by enter insert a new line as expected.

Screenshot showing how the dropdown is still open with the top result selected:

Bildschirmfoto_2021-04-23_11-39-05.png (313×391 px, 13 KB)

Demo:

Peek 2021-04-23 12-07.gif (312×447 px, 42 KB)