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

Mats Persson mats at imediatec.co.uk
Wed Jun 1 16:20:07 UTC 2005


On 1 Jun 2005, at 16:25, Dominique PERETTI wrote:
> Does it in some extent use the new feature Allan wrote about ?
>> 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';
>
> Because this method is damn great !


Dominique, Yes it does, but don't take my word for it try the bundle.

Please Note! Allan's completion command above is limited to the  
number of functions available in your PHP installation.
OS X Default = 915
Entropy.ch PHP 5.0.4 = 1782

but the PHPCodeCompletion bundle supports all 3653 functions.


Kind regards,

Mats

----
"TextMate, coding with an incredible sense of joy and ease"
- www.macromates.com -





More information about the textmate mailing list