Hi everyone,
Not sure if this is possible. Anyone ever use Zend Studio? The auto competition and function prototypes are simply amazing.
Basically, completion happens automatically, and gives a nice drop down with prototype information in it. Also, if you are inside a functions brackets, it will show a prototype of the function, based on the PHPDoc comments (if it's available).
Is this possible in the current version of textmate? I imagine it would have to index the project to get this going. If it's not possible, is it every planned? I immagine it would be useful for ruby, javascript, and anything else really provided it had a method to parse the source code in the project.
Regards, Eric
On 29/3/2006, at 22:26, Eric Coleman wrote:
[...] Is this possible in the current version of textmate?
For built-in PHP functions Mats Persson created a bundle that has some of this:
http://www.imediatec.co.uk/tm/phpcc/
[...] If it's not possible, is it every planned?
Certainly TM will eventually get code completion etc. API’s (for plug- ins), but it’s not what’s up next.
Thanks Allan,
Few questions:
1) Can I use a macro or something to show the prototype automatically when im inside of brackets? 2) What would be involved in parsing a project for functions and adding them to the phpcc completion? Just curious, don't want you to waste time responding to me :p
Eric Coleman
http://aplosmedia.com home: 412 399 1024 cell: 412 779 5176
On Mar 29, 2006, at 3:44 PM, Allan Odgaard wrote:
On 29/3/2006, at 22:26, Eric Coleman wrote:
[...] Is this possible in the current version of textmate?
For built-in PHP functions Mats Persson created a bundle that has some of this:
http://www.imediatec.co.uk/tm/phpcc/
[...] If it's not possible, is it every planned?
Certainly TM will eventually get code completion etc. API’s (for plug-ins), but it’s not what’s up next.
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
On 29/3/2006, at 23:36, Eric Coleman wrote:
- Can I use a macro or something to show the prototype
automatically when im inside of brackets?
In practice it would be possible to overload arrow keys to something which moves and then checks scope or similar -- but I wouldn’t do it ;)
- What would be involved in parsing a project for functions and
adding them to the phpcc completion?
No idea...
- What would be involved in parsing a project for functions and
adding them to the phpcc completion? Just curious, don't want you to waste time responding to me :p
I did something like that a while ago.
You can take a look here:
I'm parsing all files included from the current one via ctags and extract functions. There is a readme in there, too.
Soryu.