Regenerate PHPDOC blocks

I have some files that have phpdoc blocks created by Generate | PHPDOC Blocks. 

When parameters change, it would be nice to have PHPStorm regenerate the blocks.  It seems that the only way to regenerate a block is to delete it. If I want to go over the whole class file, I need to visit each method and delete the block.

Is there a way to automatically replace all the @items in the docblocks for the whole file with the current state of the code? 

 

1 comment
Comment actions Permalink

When you change parameters it's advised to use Refactor > Rename (Shift+f6). This should automatically update references in PHPdocs.

 

With already renamed variables I guess there's only one way to go: re-generate PHPdocs

0

Please sign in to leave a comment.