[TxMt] PHP completion preferences
Charilaos Skiadas
skiadas at hanover.edu
Fri Mar 30 21:32:26 UTC 2007
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
> TM_BUNDLE_SUPPORT is not?
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
More information about the textmate
mailing list