Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding JSDoc with the shortcut while cursor is on the "function" line #79

Open
KonradHoeffner opened this issue Sep 26, 2018 · 0 comments

Comments

@KonradHoeffner
Copy link

If I have a function like this:

function foo()
{
...
}

And press CTRL+SHIFT+J, while the cursor is on the "function" line, atom-easy-jsdoc generates:

function foo()
/**
 * 
 */ 

{
...
}

But I expect:

/**
 * foo - description
 *
 * @return {type}  description
 */
function foo()
{
...
}

But I get this behavior only if I place the cursor one line above the line with "function" in it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant