intelephense-docs icon indicating copy to clipboard operation
intelephense-docs copied to clipboard

Hability to customize generated docblock

Open gjm opened this issue 4 years ago • 0 comments

It would be great to be able to customize the generated method docblocks. For example the code snippet:

public function bar(int $int, bool $bool): array
{
    return [$int, $string, $bool];
}

Generating the docblock would give me:

    /**
     * 
     * @param int $int 
     * @param bool $bool 
     * @return array 
     */

It would be nice to be able to say that I want an empty line between the last @param line and @return.

Also it would be nice to be able insert standard tags like @author.

gjm avatar Jan 18 '20 16:01 gjm