CallTip format for Komodo

CallTip format for Komodo

am 22.01.2008 22:45:13 von mikeinvb

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() {
/**
* @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

Re: CallTip format for Komodo

am 22.01.2008 23:06:28 von Jensen Somers

mikeinvb@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() {
> /**
> * @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
{
/**
* @return string
*/
function doSomething()
{
echo "does something\n";
}
}

- Jensen