Are there any bundles available to ease writing JSDoc comments for javascript?
Aptana has a really nice feature that looks for /** and completes the rest of the comment for you, leaving you to just fill in the descriptions of the function and it's parameters.
On 20 Dec 2007, at 13:50, Stuart Grimshaw wrote:
Are there any bundles available to ease writing JSDoc comments for javascript?
Don’t think so, but Luke recently gave the JavaDoc functionality of the Java bundle an overhaul.
Aptana has a really nice feature that looks for /** and completes the rest of the comment for you, leaving you to just fill in the descriptions of the function and it's parameters.
Not sure what you mean by “look for”.
You could create a snippet with ‘/**’ as tab-trigger.
See http://macromates.com/textmate/manual/bundles#tab_triggers and http://macromates.com/textmate/manual/snippets for more info.
On 23/12/2007, at 12:22 PM, Allan Odgaard wrote:
Aptana has a really nice feature that looks for /** and completes the rest of the comment for you, leaving you to just fill in the descriptions of the function and it's parameters.
One thing I would like to add to the JavaDoc stuff is creating the param, return and throws tags based on the targeted method. That will probably be similar to what you want here. It's on my list to get to within the next few weeks.
LD.
On Dec 23, 2007 6:18 AM, Luke Daley ld@ldaley.com wrote:
On 23/12/2007, at 12:22 PM, Allan Odgaard wrote:
Aptana has a really nice feature that looks for /** and completes the rest of the comment for you, leaving you to just fill in the descriptions of the function and it's parameters.
I've added my own tab complete shortcut for a JSDoc comment block, it works really well.
One thing I would like to add to the JavaDoc stuff is creating the param, return and throws tags based on the targeted method. That will probably be similar to what you want here. It's on my list to get to within the next few weeks.
Are there any other snippets that do something similar already? I'd like to see how it's done and maybe have a go at something similar myself.
On Dec 20, 2007, at 6:50 AM, Stuart Grimshaw wrote:
Are there any bundles available to ease writing JSDoc comments for javascript?
Just added a JSDoc bundle that got sent in:
http://macromates.com/svn/Bundles/trunk/Review/Bundles/JavaScript%20JSDoc.tm...
Will be starting some discussion about it on the dev-list.
On Mon, Dec 31, 2007 at 1:40 AM, Michael Sheets mummer@whitefalls.org wrote:
On Dec 20, 2007, at 6:50 AM, Stuart Grimshaw wrote:
Are there any bundles available to ease writing JSDoc comments for javascript?
Just added a JSDoc bundle that got sent in:
http://macromates.com/svn/Bundles/trunk/Review/Bundles/JavaScript%20JSDoc.tm...
Will be starting some discussion about it on the dev-list.
Is this bundle still available Michael? I've got the GetBundle bundle installed and Javascript JSDoc doesn't show up as one of the options to be installed?
On May 21, 2008, at 2:40 PM, Stuart Grimshaw wrote:
http://macromates.com/svn/Bundles/trunk/Review/Bundles/JavaScript%20JSDoc.tm...
Is this bundle still available Michael? I've got the GetBundle bundle installed and Javascript JSDoc doesn't show up as one of the options to be installed?
GetBundle doesn't show bundle inside the review folder. You'll need to install it manually with subversion.
http://macromates.com/textmate/manual/bundles#getting_more_bundles
On Wed, May 21, 2008 at 9:13 PM, Michael Sheets mummer@whitefalls.org wrote:
GetBundle doesn't show bundle inside the review folder. You'll need to install it manually with subversion.
http://macromates.com/textmate/manual/bundles#getting_more_bundles
Thanks Michael, I've got it installed now.