This module allows to export PHPStorm Advanced Metadata (https://www.jetbrains.com/help/phpstorm/ide-advanced-metadata.html) in order to get autocomplete functionality in PhpStorm for next calls:
* Drupal::service()
* ContainerInterface::get()
* EntityTypeManager::getStorage()
After enabling the module you can run drush phpstorm-metadata:generate
to generate a metadata file inside your docroot.
And then you will get autocomplete possibilities if you use PhpStorm.
Project link
https://www.drupal.org/project/phpstorm_metadata
Git instructions
git clone --branch 8.x-1.x https://git.drupalcode.org/project/phpstorm_metadata.git
PAReview checklist
https://pareview.sh/pareview/https-git.drupal.org-project-phpstorm_metadata.git-8.x-1.x
Comments
Comment #2
vuilHello,
Thanks for the contribution!
(1.) Please remove the closes mark
?>
(PHP delimiter) at the end of file./file_template/.phpstorm.meta.TEMPLATE.php
Please see https://www.drupal.org/node/318#phptags
I did not find any security related issue in code. So, I set the issue status to Reviewed & tested by the community.
Comment #3
apadernoThank you for your contribution! I am going to update your account.
These are some recommended readings to help with excellent maintainership:
You can find more contributors chatting on the IRC #drupal-contribute channel. So, come hang out and stay involved.
Thank you, also, for your patience with the review process.
Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.
I thank all the dedicated reviewers as well.
Comment #4
apaderno