Posted by Jensen Somers on 01/22/08 22:06
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
[Back to original message]
|