Summary: | [rulers] Enable more than one ruler action if multiple java annotations exist | ||
---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Stephan Herrmann <stephan.herrmann> |
Component: | Text | Assignee: | Platform-Text-Inbox <platform-text-inbox> |
Status: | ASSIGNED --- | QA Contact: | |
Severity: | enhancement | ||
Priority: | P3 | CC: | daniel_megert, markus.kell.r |
Version: | 3.4.2 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: |
Description
Stephan Herrmann
2009-03-17 08:34:04 EDT
Only quick assist/fix is handled specially, otherwise the context menu is always the same and not filtered by the top annotation. Sorry, I got tricked by "context menu" in your original comment. What you mean is the single-click action which is targeted to the top annotation. I might be doing something stupid, but if the line of an overriding method has a quickfix I find NO way to invoke the "Open super implementation" action. I'm not so much surprised that there's only one single-click action. Plus: looking at the code, JavaSelectAnnotationRulerAction.update() first finds the top-most java annotation (method findJavaAnnotation()) and from there the context menu is initialized ONLY for that topmost annotation. Are you seeing something different? The other thing might be a separate bug: I never found a way to use Ctrl-1 for invoking "Open super implementation" although that's the shortcut advertized in the context menu. Could this one be plattform specific (I'm on linux-gtk)? >I might be doing something stupid, but if the line of >an overriding method has a quickfix I find NO way to >invoke the "Open super implementation" action. That's what I tried to say: those are handled by the Go To Annotation action hence only one wins and in case of problems, quick fix wins. However, there's a way to go to the super implementation: use roll-over hovers: Java > Editor > Hovers > [] Expand vertical ruler icons upon hovering >The other thing might be a separate bug: I Right, see bug 66640. (In reply to comment #4) > there's a way to go to the super implementation: use roll-over hovers: > Java > Editor > Hovers > [] Expand vertical ruler icons upon hovering Thanks, one more of those hidden treasures ;-) I would still prefer if Go To Annotation would expand to a sub-menu if more than one annotation is found, but if presenting only one is by design I won't take this to the Supreme Court :) > I find NO way to invoke the "Open super implementation" action.
For this concrete action, you can always use the main menu:
Navigate > Open Super Implementation. I've bound this to Shift+F3.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. |