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

Nested docs #31

Open
E88 opened this issue Jun 9, 2016 · 4 comments
Open

Nested docs #31

E88 opened this issue Jun 9, 2016 · 4 comments
Labels

Comments

@E88
Copy link

E88 commented Jun 9, 2016

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 
 */ 
@tgandrews
Copy link
Owner

tgandrews commented Jun 11, 2016

What were you expecting it when pressing it a second time? This is a genuine question.

@kellyrmilligan
Copy link

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

@tgandrews
Copy link
Owner

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  */

@tgandrews tgandrews added the bug label Oct 26, 2016
@wabudd1
Copy link

wabudd1 commented Dec 28, 2016

+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.

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

No branches or pull requests

4 participants