Then where could I set characterClass, take the 'php bundle' for example.
On Wed, Sep 12, 2012 at 6:46 AM, Allan Odgaard mailinglist@textmate.org wrote:
On Sep 11, 2012, at 9:22 AM, Yuan Jiang sleetdrop@gmail.com wrote:
I need some help about code complete in bash and php. […] VAR_EXAMPLE=1 echo $VAR_EXAMPLE # when I use a variable for the first time, autocomplete won't work when I hit $VAR[ESC]
It’s explained in this blog post: http://blog.macromates.com/2012/clever-completion/
I know Elia linked to a bundle that redefines the completion command but one can also set characterClass for meta.punctuation. This however will also affect word movement/selection. I’m considering introducing two word definitions (one for completion, another for movement/selection), though even for movement/selection, half the time, the new larger units is not really desired.
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate