You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Would be nice to have support for docblocks like you do in PHP #3
The issue is there is no language specific documentation format for JavaScript and to make the problem worse, there are conflicting options out there. Off the top of my head, there's JSDoc and YUIDoc but thankfully both are similar enough so to add some generic support. What do you think of this:
Scoping tags (Example: @param)
Scoping tag arguments, where possible (Example: Scoping the type and name of the param tag)
Any feedback you can provide will help me make a decision on how to do this.
Activity
whitlockjc commentedon Mar 16, 2014
The issue is there is no language specific documentation format for JavaScript and to make the problem worse, there are conflicting options out there. Off the top of my head, there's JSDoc and YUIDoc but thankfully both are similar enough so to add some generic support. What do you think of this:
@param)Any feedback you can provide will help me make a decision on how to do this.
ryanfitzer commentedon Feb 11, 2016
I created a grammar in my personal bundle to give very simple support for docblocks:
Here's the preview:
If you think it would be useful in this bundle, I'd be interested in making it more robust.
infininight commentedon Jul 30, 2016
Basic support has been added, currently matches the blocks and tags used by JSDoc.
ryanfitzer commentedon Aug 4, 2016
Thanks for adding in some support!