Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add completion and intention for named parameter comments #24

Open
King2500 opened this issue Feb 28, 2020 · 1 comment
Open

Add completion and intention for named parameter comments #24

King2500 opened this issue Feb 28, 2020 · 1 comment

Comments

@King2500
Copy link
Owner

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
Copy link
Owner Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant