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

Bug 480228

Summary: Open implementation returns current node while open declaration returns enclosing function
Product: [ECD] Orion Reporter: Curtis Windatt <curtis.windatt.public>
Component: JS ToolsAssignee: Olivier Thomann <Olivier_Thomann>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: Michael_Rennie
Version: 10.0   
Target Milestone: 12.0   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Curtis Windatt CLA 2015-10-20 11:21:06 EDT
org.eclipse.orion.client/bundles/org.eclipse.orion.client.editor/web/orion/editor/tooltip.js
function Tooltip(view){
Tooltip.getTooltip = 'foo';
}

If you open declaration from inner Tooltip it takes you to the function declaration.

If you open implementation from the inner Tooltip it leaves you on the same text/node.

We should be taking the same jump as Open Declaration.
Comment 1 Curtis Windatt CLA 2016-01-13 16:03:38 EST
Reassigning to Olivier as he is already doing work in this area.
Comment 2 Olivier Thomann CLA 2016-04-07 13:12:43 EDT
Curtis, I am not sure what you expect there.
Comment 3 Curtis Windatt CLA 2016-04-07 13:59:17 EDT
Closing as WORKSFORME.  The behaviour between open decl and open impl is the same in all the places in tooltip.js.  The specific case I was concerned about may have been fixed by Bug 484510.