Sublime Forum

Tab Completion and Snippets

#1

This is a small little usability thing I’ve noticed: if you try to use tab completion while filling in the fields of a snippet, you’ll get the next field, instead of Sublime Text inserting the best completion, and then going onto the next field.

Example: (in a cpp file)

int dummyVariableName; then type: "if <tab>dvn<tab>"

Instead of replacing the “dvn” with “dummyVariableName”, you’ll move onto the next field of the if.

0 Likes

Snippet field navigation bug
#2

This is extremely annoying. I think some sort of prominent visual hint (possibly related to the caret) would suffice to remind you that tab won’t insert anything this time, but advance to the next field instead. In this state, Sublime Text will still let you insert stuff by pressing Ctrl+space, but you need to remember it first and notice, which isn’t ideal.

0 Likes