Bug 527300 - Generate Element Comment does not work on MethodDefinition nodes
Summary: Generate Element Comment does not work on MethodDefinition nodes
Status: RESOLVED FIXED
Alias: None
Product: Orion (Archived)
Classification: ECD
Component: JS Tools (show other bugs)
Version: 16.0   Edit
Hardware: PC Mac OS X
: P2 normal (vote)
Target Milestone: 17.0   Edit
Assignee: Michael Rennie CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-15 11:00 EST by Michael Rennie CLA
Modified: 2017-11-22 09:37 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Rennie CLA 2017-11-15 11:00:28 EST
Consider the following example:

class MyClass {
  constructor() {
  }
  someFunction() {
  }
}

if you place the caret on (in or around) the function 'someFuntion', invoking the command to generate JSDoc for it does nothing.
Comment 1 Michael Rennie CLA 2017-11-15 11:02:08 EST
The command also does not work on ClassDeclaration / ClassBody nodes