Sublime Forum

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

#1

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”, at which point it would complete “update”; then I’d type “cus” and it’d complete to “updateCustomer”.

Is there some undocumented option (as if there’s any other kind), or possibly a third-party package?

0 Likes

#2

Who were you, JarrettBillingsley? WHAT DID YOU SEE?!
https://xkcd.com/979/

0 Likes

#3

I’m pretty certain he saw that it wasn’t possible. You could write a plugin though.

0 Likes