kkoomen / vim-doge

(Do)cumentation (Ge)nerator for nearly 20 languages 📚 Generate proper code documentation with a single keypress. ⚡️🔥
GNU General Public License v3.0
981 stars 47 forks source link

Generate class phpDoc #664

Open scippio opened 2 months ago

scippio commented 2 months ago

Hi! Thanks for greate plugin!

Is possible generate some properties for classes too? Like that for laravel Eloquent model: image

doge working only for methods/functions etc..

kkoomen commented 2 months ago

For now I don't feel like implementing this, because common practice is to document the property itself, which is supported by vim-doge, instead of documenting all properties inside one enormous docblock on top of the class.

I'm very busy still for upcoming weeks, but I can see that it is nice to have all properties to be specified in one docblock to see everything in an instant when opening the file. Perhaps I'll implement this later on as a configurable option to enable yourself if you want this behavior.