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

Bug 507000

Summary: Hover does not work on class names in export statements
Product: [ECD] Orion Reporter: Michael Rennie <Michael_Rennie>
Component: JS ToolsAssignee: Michael Rennie <Michael_Rennie>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 13.0   
Hardware: PC   
OS: Mac OS X   
Whiteboard:

Description Michael Rennie CLA 2016-11-03 15:06:08 EDT
Consider the following snippet:

/**
 * @constructs MyClass
 * @class MyClass
 * @since 1.0
 */
class MyClass {
	constructor() {
	}
	func() {
		return function out() {
			
		};
	}
	func2() {
		return {};
	}
}

export default MyClass;
export let instance = new MyClass();

if you hover over 'MyClass' in either of the export statements, you get no popup. I would expect to see one.
Comment 2 Michael Rennie CLA 2016-11-03 16:33:46 EDT
Opened issue to push the fix back to Tern: https://github.com/ternjs/tern/issues/844