Home Download Buy Blog Forum Support

Tab Completion and Snippets

Tab Completion and Snippets

Postby bengold on Wed Sep 28, 2011 9:42 pm

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)
Code: Select all
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.
bengold
 
Posts: 15
Joined: Wed Aug 03, 2011 9:49 pm

Re: Tab Completion and Snippets

Postby guillermooo on Wed Sep 28, 2011 9:57 pm

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.
guillermooo
 
Posts: 728
Joined: Thu Jul 23, 2009 9:06 am


Return to Ideas and Feature Requests

Who is online

Users browsing this forum: No registered users and 15 guests