I do not know if I am doing this correctly, but I checked with PHPDOC and it seems so.
Example Code
class a
{
/**
*@desc Blah Blah Blah
*@param string $data Some sweet stuff
*@param string Optional Arguments
*/
function test($data)
{
//nothing here
}
}
|
Basically, I would like to see code completion display this as I am typing, imagining below is the type completion box popping up.
a::test(string $data, Option Arguments)
As it is now Code completion will on show
a::test(string $data)
So there is no way to know that optional arguments are possible. Once you started typing in the first paramater and hit the ",' then info will show up for the optional parameters..
Thanks in advance.