Brackets extension to generate JSDoc annotations
Find a file
2013-07-19 10:15:56 +02:00
LICENCE Create LICENCE 2012-12-17 13:26:04 -08:00
main.js Modified default keybinding, again 2013-07-19 10:15:00 +02:00
package.json Added extension package json file 2013-05-27 10:37:47 +02:00
README.md Added new key bindings 2013-07-19 10:15:56 +02:00
test_dummy.js Added a test file 2012-09-24 10:12:13 +02:00

Brackets JSDoc Annotate

A brackets extension to generate JSDoc annotations for your functions.

To install, place the annotate folder inside the brackets/src/extensions/user folder.

Compatible with Brackets Sprint10 and higher

Usage

Open a project in Brackets, place your cursor before, or on the line of a function definition, and select Annotate form the Edit menu.

Alternatively, use the keyboard shortcut CTRL+Alt+A on Windows, or +Alt+A on Mac.

This will create a JSDoc like annotation according to the function signature. It will add @private if the function starts with an underscore. It will create a @param for each parameter.

Known issues

No @return is generated since the extension only looks at the function signature to generate the annotation, not its body.