[TxMt] Any PHP Coders with a few minutes to spare ?

Dominique PERETTI dperetti at lachoseinteractive.net
Wed Jun 1 15:25:14 UTC 2005


Does it in some extent use the new feature Allan wrote about ?

> It's now possible to disable the default completion (which  
> currently gather words from current document which has prefix of  
> current word) and additionally set a completion command which is  
> called with $TM_CURRENT_WORD set to the word that needs to be  
> completed and should write a list of matches to stdout. For example  
> to change the completion to only suggest internal PHP functions we  
> could make the following setting:
>    completionCommand = 'php -r \'$a = get_defined_functions();  
> print_r(implode("\n", $a["internal"]));\'|grep "^$TM_CURRENT_WORD"| 
> sort';
>    disableDefaultCompletion = 1;

Because this method is damn great !


On 1 juin 05, at 17:18, Mats Persson wrote:

>
> If you have TextMate 1.1b11 installed and is coding with PHP, then  
> please visit  [ http://www.imediatec.co.uk/tm/phpcc/ ] and help out  
> testing a new PHP Code Completion solution for TM.
>
> All 3653 php functions supported with completions, snippets,  
> tooltip information and full PHP Online documentation inside TM.
>
> Please note! This bundle is still in development, so please let me  
> know what you would like to have added, changed, etc. etc.
>
>
> Kind regards,
>
> Mats
>
> ----
> "TextMate, coding with an incredible sense of joy and ease"
> - www.macromates.com -
>
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate
>




More information about the textmate mailing list