Home  >  Article  >  Development Tools  >  About PHPDoc Comments comment generator for phpstorm

About PHPDoc Comments comment generator for phpstorm

藏色散人
藏色散人forward
2021-04-06 11:28:412517browse

The following is an introduction to PHPDoc Comments in phpstorm from the phpstorm tutorial column Generator, I hope it will be helpful to friends who need it!

About PHPDoc Comments comment generator for phpstorm

Editor: phpstorm2018.3
System: windows 7

1. Generate code comment block

Move the cursor to In the php file, press the key combination Alt Insert, and the generator will pop up. After selecting PHPDoc Blocks, select all listed uncommented file lists and click the OK button. , code comments will be automatically generated, see the gif below for details
About PHPDoc Comments comment generator for phpstorm

2. Update code comments

Move the cursor to the php function parameter parentheses and press the key combinationAlt EnterThe modification menu will pop up. Select the Update PHPDoc Comment option and click Enter. See gif below.
About PHPDoc Comments comment generator for phpstorm

The above is the detailed content of About PHPDoc Comments comment generator for phpstorm. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:csdn.net. If there is any infringement, please contact admin@php.cn delete