autocomplete / suggest function params

Hello !

I have a function with a javadoc bloc.

For example:

/**
* my special function
*
* @param $aaa string
* @ param $bbb array
*/
function myTest($aaa, array $bbb){

... snipp ...

  return;
}

Is there a way for a suggest the params,
when i type the function ?

Sorry for my bad english.

Your sincerly

Stephan

2 comments
Comment actions Permalink

Hi Stephan,

1st of all -- your PHPDoc has wrong format (although it still should work in PhpStorm): proper one should be @param TYPE $PARAM_NAME Description

Is there a way for a suggest the params, when i type the function ?

What params?

Do you want to see hint with parameter names and types (function signature), so you know what to type?  If so -- View | Parameter Info (Ctrl+P on Windows).

If it's something else -- please elaborate with some examples.

0
Comment actions Permalink

Hello!

Thanks for the information.
You're right. I have the order
parameters specified in the wrong.

Yours sincerely,

Stephan

0

Please sign in to leave a comment.