King2500/idea-php-advanced-autocomplete

Add completion and intention for named parameter comments

King2500 opened this issue · 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);

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