The problem with character classes (unless I'm missing something) is that you need to "fix" every grammar to get the same behavior<div><br clear="all"><div>Elia</div><div><br></div><div>—<br><span style="background-color:rgb(255,255,255)">☁ <a href="http://twitter.com/elia" target="_blank"><font color="#6666CC">@elia</font></a> </span><font color="#CCCCCC"><span style="background-color:rgb(255,255,255)">(twitter)</span></font><span style="background-color:rgb(255,255,255)"> </span><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse;line-height:15px"><span style="background-color:rgb(255,255,255)">✎ <a href="mailto:elia@schito.me" target="_blank"><font color="#6666CC">elia@schito.me</font></a> </span><font color="#CCCCCC"><span style="background-color:rgb(255,255,255)">(</span></font></span><font color="#CCCCCC"><span style="background-color:rgb(255,255,255)">gtalk)</span></font></div>
<div><span style="background-color:rgb(255,255,255)">☎ <font color="#CCCCCC">(+39)</font><font color="#CC0000"> 348/9051393</font> </span><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse;line-height:15px"><span style="background-color:rgb(255,255,255)"> </span></span><span style="background-color:rgb(255,255,255)"><a href="mailto:perlelia@gmail.com" target="_blank"><font color="#6666CC">perlelia@gmail.com</font></a> </span><font color="#CCCCCC"><span style="background-color:rgb(255,255,255)">(FaceTime)</span></font></div>
<br>
<br><br><div class="gmail_quote">On Wed, Sep 12, 2012 at 5:06 AM, Yuan Jiang <span dir="ltr"><<a href="mailto:sleetdrop@gmail.com" target="_blank">sleetdrop@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
thanks, just tested it. it works now.<br>
<div class="HOEnZb"><div class="h5"><br>
On Wed, Sep 12, 2012 at 4:53 AM, Elia Schito <<a href="mailto:elia@schito.me">elia@schito.me</a>> wrote:<br>
> It should be fixed now :)<br>
><br>
> Elia<br>
><br>
> —<br>
> ☁ @elia (twitter) ✎ <a href="mailto:perlelia@gmail.com">perlelia@gmail.com</a> (gtalk)<br>
> ☎ <a href="tel:%28%2B39%29%20348%2F9051393" value="+393489051393">(+39) 348/9051393</a> <a href="mailto:perlelia@gmail.com">perlelia@gmail.com</a> (FaceTime)<br>
> Inviato con Sparrow<br>
><br>
> Il giorno martedì, settembre 11, 2012, alle ore 6:22 pm, Yuan Jiang ha<br>
> scritto:<br>
><br>
> Thanks, it works for my php example, but not work for the bash example.<br>
> Can you give me some guide?<br>
><br>
> On Tue, Sep 11, 2012 at 4:21 PM, Elia Schito <<a href="mailto:elia@schito.me">elia@schito.me</a>> wrote:<br>
><br>
> You can use <a href="https://github.com/elia/avian-missing.tmbundle" target="_blank">https://github.com/elia/avian-missing.tmbundle</a> that overwrites<br>
> the smart completion with Character class indifferent completion<br>
><br>
> Elia<br>
><br>
> —<br>
> ☁ @elia (twitter) ✎ <a href="mailto:perlelia@gmail.com">perlelia@gmail.com</a> (gtalk)<br>
> ☎ <a href="tel:%28%2B39%29%20348%2F9051393" value="+393489051393">(+39) 348/9051393</a> <a href="mailto:perlelia@gmail.com">perlelia@gmail.com</a> (FaceTime)<br>
> Inviato con Sparrow<br>
><br>
> Il giorno martedì, settembre 11, 2012, alle ore 9:22 am, Yuan Jiang ha<br>
> scritto:<br>
><br>
> I need some help about code complete in bash and php.<br>
><br>
> bash<br>
> -------<br>
><br>
> VAR_EXAMPLE=1<br>
> echo $VAR_EXAMPLE # when I use a variable for the first time,<br>
> autocomplete won't work when I hit $VAR[ESC]<br>
><br>
><br>
><br>
> php<br>
> ------<br>
><br>
> class C {<br>
> private $_a_example = 0;<br>
> public function foo()<br>
> {<br>
> echo $this->_a_example; # when I use a class's property for<br>
> the first time, autocomplete won't work when I hit $this->_a[ESC]<br>
> }<br>
> }<br>
><br>
><br>
> Is there any solution for this or I have to tweak the syntax file?<br>
><br>
><br>
><br>
><br>
> --<br>
> Yuan Jiang<br>
> <a href="http://blog.vetcafe.net" target="_blank">http://blog.vetcafe.net</a><br>
> <a href="http://twitter.com/sleetdrop" target="_blank">http://twitter.com/sleetdrop</a><br>
><br>
> _______________________________________________<br>
> textmate mailing list<br>
> <a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a><br>
> <a href="http://lists.macromates.com/listinfo/textmate" target="_blank">http://lists.macromates.com/listinfo/textmate</a><br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> textmate mailing list<br>
> <a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a><br>
> <a href="http://lists.macromates.com/listinfo/textmate" target="_blank">http://lists.macromates.com/listinfo/textmate</a><br>
><br>
><br>
><br>
><br>
> --<br>
> Yuan Jiang<br>
> <a href="http://blog.vetcafe.net" target="_blank">http://blog.vetcafe.net</a><br>
> <a href="http://twitter.com/sleetdrop" target="_blank">http://twitter.com/sleetdrop</a><br>
><br>
> _______________________________________________<br>
> textmate mailing list<br>
> <a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a><br>
> <a href="http://lists.macromates.com/listinfo/textmate" target="_blank">http://lists.macromates.com/listinfo/textmate</a><br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> textmate mailing list<br>
> <a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a><br>
> <a href="http://lists.macromates.com/listinfo/textmate" target="_blank">http://lists.macromates.com/listinfo/textmate</a><br>
<br>
<br>
<br>
--<br>
Yuan Jiang<br>
<a href="http://blog.vetcafe.net" target="_blank">http://blog.vetcafe.net</a><br>
<a href="http://twitter.com/sleetdrop" target="_blank">http://twitter.com/sleetdrop</a><br>
<br>
_______________________________________________<br>
textmate mailing list<br>
<a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a><br>
<a href="http://lists.macromates.com/listinfo/textmate" target="_blank">http://lists.macromates.com/listinfo/textmate</a></div></div></blockquote></div><br></div>