[TxMt] PHP completion preferences

Ciarán Walsh ciawal at gmail.com
Sun Apr 1 17:56:13 UTC 2007

On 30 Mar 2007, at 22:32, Charilaos Skiadas wrote:

> On Mar 30, 2007, at 3:03 PM, Rob McBroom wrote:
>> FWIW, I tried the above, and `"$TM_BUNDLE_SUPPORT"/functions.txt`  
>> doesn't seem to be pointing the file. I got it to work by giving  
>> the explicit complete path to the file, but that's obviously not  
>> what we want stored in the preferences by default. Could it be  
>> that TM_CURRENT_WORD is defined in the Preferences context, but  
> I think this is exactly what is happening. That is why all the  
> completion commands in the LaTeX bundle have had to be in the  
> global support directory, because that can indeed be accessed, via  
> TM_SUPPORT_PATH. So there we do use the same way for generating the  
> list of commands. Perhaps the PHP bundle should be doing the same?  
> Though the idea of every bundle doing that is probably not great,  
> in which case we can hopefully convince Allan to provide us with  
> TM_BUNDLE_SUPPORT for Preferences items as well, if it is not too  
> difficult.
> Haris Skiadas
> Department of Mathematics and Computer Science
> Hanover College

I was also making the assumption that using a list for ⎋ completion  
would be more efficient than using a shell command, although it could  
be the case that the difference isn't really noticeable. However,  
both the functions.txt and the completions preferences file are  
automatically generated from PHP source, so there is no issue with  

More information about the textmate mailing list