Haehnchen / idea-php-annotation-plugin

Add PHP annotation support for PhpStorm and IntelliJ
https://plugins.jetbrains.com/plugin/7320
MIT License
251 stars 41 forks source link

Argument autocompletion based on .phpstorm.meta.php #243

Open DmitryFurs opened 2 years ago

DmitryFurs commented 2 years ago

PhpStorm provides the ability to add a metadata file and describe the expected parameters for methods in it. https://www.jetbrains.com/help/phpstorm/ide-advanced-metadata.html

If we describe the arguments for the constructor, and then when creating a new object using autocompletion, the described options will be available to us. image

But when using the annotation plugin, autocompletion substitutes only the name of the argument image

but does not substitute value variants image image

If metadata support had been added, it would have made using the plugin even more convenient.