tobyS / pdv

PHP Documentor for VIM - Generates PHP docblocks
161 stars 32 forks source link

Add interface, trait, and const templates #23

Closed MikkelPaulson closed 8 years ago

MikkelPaulson commented 8 years ago

I've moved interfaces into their own template/regex to change:

/**
 * Class: baz
 *
 * @see foo
 */
interface baz extends foo, bar { }

Into:

/**
 * Interface: baz
 *
 * @see foo
 * @see bar
 */
interface baz extends foo, bar { }

And I've added support for traits, which was missing. The regex for that one is nice and simple. :)

tobyS commented 8 years ago

Sorry for the delay.