Autocomplete array properties
I'm writing a function that looks like this
function thing($options) {
$title = $options['title'];
$name = $options['name'];
$max = $options['max'];
$min= $options['min'];
$test = $options['test'];
....
}
you get the point. Is there anyway to have code completion so when I type:
thing(array( <crtl+space>
it will show me a list like 'title', 'name', 'max', 'min', 'test'
?
If that is possible is it also possible to type hint on those properties like
/** @var array */
$title;
$title = $optitions['title'];
Please sign in to leave a comment.
Hi there,
http://youtrack.jetbrains.com/issue/WI-5304