type a one line under athirdfunctionname, then wait for ST native autocomplete box to pop up.
imagine we want to autocomplete a to afunctionname. Let's select afunctionname in the popup by highlighting it using the up/down arrow keys. Then press tab.
Expected result : pressing tab should commit afunctionname (at least if we stick to the auto_complete_on_tab logic).
Observed result : athirdfunctionname gets commited instead, since it is closer to the cursor.
Workaround : edit Tabs.sublime-keymap/your user keymap to
Pre-requisites :
auto_complete_commit_on_tab
set to true in ST user settings (i think it is set to false by default).Tabs.sublime-keymap
).Steps to reproduce the issue:
a
one line underathirdfunctionname
, then wait for ST native autocomplete box to pop up.a
toafunctionname
. Let's selectafunctionname
in the popup by highlighting it using the up/down arrow keys. Then presstab
.Expected result : pressing
tab
should commitafunctionname
(at least if we stick to the auto_complete_on_tab logic).Observed result :
athirdfunctionname
gets commited instead, since it is closer to the cursor.Workaround : edit
Tabs.sublime-keymap
/your user keymap to