| Summary: | Open implementation returns current node while open declaration returns enclosing function | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Curtis Windatt <curtis.windatt.public> |
| Component: | JS Tools | Assignee: | 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: | |||
Reassigning to Olivier as he is already doing work in this area. Curtis, I am not sure what you expect there. 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. |
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.