| Summary: | Provide simpler code navigation | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Michael Rennie <Michael_Rennie> |
| Component: | JS Tools | Assignee: | Michael Rennie <Michael_Rennie> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | curtis.windatt.public |
| Version: | unspecified | ||
| Target Milestone: | 7.0 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Bug Depends on: | 427299 | ||
| Bug Blocks: | 450152 | ||
|
Description
Michael Rennie
*** Bug 423096 has been marked as a duplicate of this bug. *** An important use case here is support to jump to a declaration outside the current file. I.e., jump the editor to a location in another related file. In HTML this could be used to support jumping from HTML file to related CSS/JS files. The current code fires off the hover in too many circumstances IMO. It'll *always* show the open hover for the file to the left of the cursor (even when the cursor is off the end of the line). If I have the following with the cursor at the '^' I get the open hover for Event Target: define([ 'orion/EventTarget', ^ 'orion/util', 'orion/webui/littlelib' For me we want to limit the display to when the cursor is actually *inside* one of the file specs (i.e. between the quotes) so we don't 'accidentally' show it as often. (In reply to Eric Moffatt from comment #3) > The current code fires off the hover in too many circumstances IMO. It'll > *always* show the open hover for the file to the left of the cursor (even > when the cursor is off the end of the line). > > > If I have the following with the cursor at the '^' I get the open hover for > Event Target: > > define([ > 'orion/EventTarget', ^ 'orion/util', 'orion/webui/littlelib' > > For me we want to limit the display to when the cursor is actually *inside* > one of the file specs (i.e. between the quotes) so we don't 'accidentally' > show it as often. Yeah, thats pretty annoying. http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=a83f0d017466cb26fd9b07bd649ddcca933f8aa5 This feature has been in Orion since 8.0, and we have provided open decl (F3 support) in bug 427299. We can open enhancements / bugs in their own reports. |