Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 495555

Summary: [jsdoc] Support ExportDefaultDeclaration nodes while processing JSDoc
Product: [ECD] Orion Reporter: Michael Rennie <Michael_Rennie>
Component: JS ToolsAssignee: Michael Rennie <Michael_Rennie>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: 10.0   
Target Milestone: 12.0   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Michael Rennie CLA 2016-06-06 14:23:28 EDT
Similar to what we did for bug 493276, we need to do the same thing for ExportDefaultDeclaration nodes
Comment 1 Michael Rennie CLA 2016-06-06 15:10:53 EDT
There is an upstream Tern bug we could probably push the fix from bug 493276 and this one to:
https://github.com/ternjs/tern/issues/769

The fix + tests:

http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=7721aa4f5ad66f9ea9526e833697ba3f0e06ff15

Confirmed the doc generation, hovers and type support for default functions and generators.
Comment 2 Michael Rennie CLA 2016-06-06 15:35:35 EDT
I opened a pull request against upstream Tern for this (and bug 493276)

https://github.com/ternjs/tern/pull/789