Home Download Buy Blog Forum Support

Tab completion behavior -- possible to get bash-like?

Tab completion behavior -- possible to get bash-like?

Postby JarrettBillingsley on Fri Jul 19, 2013 2:50 am

Currently the tab-completion in ST (I'm on ST2 still) cycles through a list of possible completions. This is... suboptimal for how I want to use it. I know it uses fuzzy searching, but it's extremely difficult to come up with "fuzzy names" on the fly which unambiguously tab-complete to the full name. Instead, I'd prefer it if the tab completion would complete only as much as is unambiguous and then let me type a few more characters and hit tab again to complete. In other words, exactly what bash does.

So if I have the names "updateCustomer", "updateCompany", and "updateSupplier" in scope, I'd like to be able to type "up<tab>", at which point it would complete "update"; then I'd type "cus<tab>" and it'd complete to "updateCustomer".

Is there some undocumented option (as if there's any other kind), or possibly a third-party package?
JarrettBillingsley
 
Posts: 11
Joined: Wed Jun 27, 2012 6:06 am

Re: Tab completion behavior -- possible to get bash-like?

Postby credford on Sun Jul 12, 2015 8:58 pm

Who were you, JarrettBillingsley? WHAT DID YOU SEE?!
https://xkcd.com/979/
credford
 
Posts: 1
Joined: Sun Jul 12, 2015 8:56 pm

Re: Tab completion behavior -- possible to get bash-like?

Postby adzenith on Mon Jul 13, 2015 1:30 pm

I'm pretty certain he saw that it wasn't possible. You could write a plugin though.
adzenith
 
Posts: 1389
Joined: Mon Oct 19, 2009 9:12 pm


Return to Technical Support

Who is online

Users browsing this forum: Yahoo [Bot] and 26 guests