PHP Enhancements for array and object Follow
Hi guys,
I'm new on PHP Storm, I come from Netbeans, and I'm still valuating pro and cons; I have found, more or less, the same thins but I don't know if in PHPStorm there is a very useful and simple "php enhancement"; in NB, if the variable is an object, if you type "-", the editor add the ">".
Example:
$var = new Class();
$var- << in the time I digit "-", the editor write "->"
The same with array; if I type "=" to write the value of an array, the IDE add the ">"
$arr = [
'key' = <<< netbeans add immediatly ">"
]
It bould be very stupid but I found it very useful, if you write tons of line of code :)
Is there a way to add this "smart keys" in phpstorm?
Thanks
PS: object autocomplete actually works only for "$this" inside an object; you type "-", the editor replace with "->", but it dows not work outside.
Thanks
Please sign in to leave a comment.
Hi there,
There are no such functionality in PhpStorm.