CallTip format for Komodo

Does anyone know how to format comments in code in order for
ActiveState's Komodo to show the CallTip info for functions?

For example:
class test {
function doSomething() {
/**
* [at] return string
*/
echo "does something\n";
}
}

When I create an instance of the test class and then type $t->
I get the method signature to show up, but I don't know what I need to
do in order to have CallTips display as well.

Any help would be greatly appreciated!

-Mike
mikeinvb [ Di, 22 Januar 2008 22:45 ] [ ID #1914720 ]

Re: CallTip format for Komodo

mikeinvb [at] hotmail.com wrote:
> Does anyone know how to format comments in code in order for
> ActiveState's Komodo to show the CallTip info for functions?
>
> For example:
> class test {
> function doSomething() {
> /**
> * [at] return string
> */
> echo "does something\n";
> }
> }
>
> When I create an instance of the test class and then type $t->
> I get the method signature to show up, but I don't know what I need to
> do in order to have CallTips display as well.
>
> Any help would be greatly appreciated!
>
> -Mike

You will most likely have more luck when asking this on a Komodo users forum.
Otherwise, what you can try is to move the function comment outside the function
declaration:

class Test
{
/**
* [at] return string
*/
function doSomething()
{
echo "does something\n";
}
}

- Jensen
Jensen Somers [ Di, 22 Januar 2008 23:06 ] [ ID #1914722 ]
PHP » comp.lang.php » CallTip format for Komodo

Vorheriges Thema: Immediate Job Opening for PHP Developers @ WA
Nächstes Thema: Re: pointer behavior in PHP?