[Recommended learning: "PHP Video Tutorial", "PhpStorm Usage Tutorial"]
Overview: PHP and Annotations are not natively supported, so the IDE will not add annotation support by default. But we can add third-party plug-ins to make the IDE support annotations.
PhpStorm
We search PHP Annotations in Plugins to find the corresponding component PHP Annotations. Then install the component, restart PhpStorm, and you can happily use the annotation function. It mainly provides very convenient and useful functions such as adding automatic jump and code reminder support for annotation classes, and automatically referencing the namespace corresponding to the annotation when using annotations.
I have already installed it here:
For more programming-related knowledge, please visit: Programming Video! !
The above is the detailed content of How does phpstrom support annotations? (Installation of PHP annotation plug-in). For more information, please follow other related articles on the PHP Chinese website!