# [TxMt] Re: completion in LaTeX

Kyle Johnson kbj at linguist.umass.edu
Wed Jul 11 20:59:53 UTC 2012

Ah, cool. This works. But it requires three keystrokes rather than
one, and, moreover, with the completion method, the \ref tag was
filled with whatever the last label had by default, which is (was)
very convenient. But this will certainly save me some typing: thanks.

Quoting David Howden <dhowden at gmail.com>:

> Try Alt+Esc instead.  You can also do this without first typing \ref{}
> and it will put the stuff in for you (type part of the label name and
> hit Alt+Esc).
>
> I'm not sure, but I think this was the same in TM1?  I certainly don't
> remember the basic ESC completion working across multiple documents.
>
> David.
>
> On Thu, Jul 12, 2012 at 6:32 AM, Kyle Johnson <kbj at linguist.umass.edu> wrote:
>> I'm using Textmate 2 (9147) on 10.7.4 to make LaTeX files. On this, and
>> every previous version of Textmate 2 I've used, I have not been able to get
>> the completion button (<esc>) to work inside of inside \ref{} tags. When I
>> type in a partial label name within \ref{} and press <esc>, it does nothing
>> --- that is it doesn't return matches with \label{} tags. Completion does
>> work inside \label{} tags. It will return the contents of the last \ref{}
>> tag. Completion worked in both contexts in Textmate 1.
>>
>> I haven't seen this mentioned here. Is anyone else encountering this
>> behavior?
>>
>> _______________________________________________
>> textmate mailing list
>> textmate at lists.macromates.com
>> http://lists.macromates.com/listinfo/textmate
>
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
>