idea-php-advanced-autocomplete icon indicating copy to clipboard operation
idea-php-advanced-autocomplete copied to clipboard

Add completion and intention for named parameter comments

Open King2500 opened this issue 4 years ago • 1 comments

function action($name, bool $isExternal) {
}
$foo->action('bar', <caret>);

At least for boolean parameters:

/*isExternal:*/ true
/*isExternal:*/ false

Which results in:

$foo->action('bar', /*isExternal:*/ true);

King2500 avatar Feb 28 '20 20:02 King2500

Maybe also reference parameter variable name, so we can safely rename that.

King2500 avatar Feb 28 '20 20:02 King2500