sublime-jsdocs icon indicating copy to clipboard operation
sublime-jsdocs copied to clipboard

PHP - Auto @author tag in class docblock

Open marcospassos opened this issue 12 years ago • 6 comments

This feature would be awesome.

marcospassos avatar Jun 09 '13 19:06 marcospassos

Second this! Or in general, being able to set the default tags to add in the docblock depending on if you're commenting a class,function, variable, etc.

jenswegar avatar Jun 26 '13 08:06 jenswegar

I just made a pull request that addresses this. And @package tags.

It's issue #196

JavierParra avatar Jul 09 '13 01:07 JavierParra

Hello i just add this lines to the jsdocs.py around line 86

author = self.view.settings().get('author') if (author): out.append('@author %s %s' % (author, datetime.date.today().strftime("%B %d, %Y")))

will be nice if is included. Thanks

alejo-jm avatar Aug 23 '13 23:08 alejo-jm

Hi,

Any news from this feature ? It would be great to be able to prefill @author tag with given configurable value.

qpautrat avatar Nov 26 '15 16:11 qpautrat

I've added this feature in [DoxyDoxygen](evolution branch)... Probably easy to implements in DocBlockr (based on env vars in my implementation)... You can also switch to this plugin (comment update & type filled using body inspection are really powerful enhancement over DocBlockr)

20Tauri avatar Dec 23 '15 08:12 20Tauri

Hi @20Tauri -- I'm really glad that you are also passionate about getting people writing more documentation in their code, and I welcome anyone making great tools for developers, but could you please stop advertising your plugin all over this repository? It is not a very friendly way to participate here.

Thanks.

spadgos avatar Dec 29 '15 14:12 spadgos