atom-easy-jsdoc
atom-easy-jsdoc copied to clipboard
Nested docs
Now nested docs are created:
Pressing Shift-Ctrl-J over:
function MyFunction(param1, param2) {
results in:
/**
* MyFunction - description
/**
*
/**
*
*/
*/
*
* @param {type} param1 description
* @param {type} param2 description
* @return {type} description
*/
What were you expecting it when pressing it a second time? This is a genuine question.
I am experiencing the same thing. I have an existing function, and move the cursor to right before it and hit ctrl+shift+d and get nested jsdocs
So if I have a cursor at 1 and you press the shortcut you get a nested doc?
1
2 /**
3 * MyFunction - description
4 *
5 * @return {type} description
6 */
+1 I see the same thing, but I don't know what I expected. Seems like a silly thing to try to do, unless you're an Xzibit meme from almost a decade ago.