| Summary: | java browser: try to restore selection | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Xavier Méhaut <xmehaut> |
| Component: | UI | Assignee: | JDT-UI-Inbox <jdt-ui-inbox> |
| Status: | RESOLVED WONTFIX | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P5 | Keywords: | helpwanted |
| Version: | 2.0 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Xavier Méhaut
Dani, VA/Java had this sticky method selection feature. It can also be annoying... Not all users would like this so it would have to be a preference. Would you only need it for the Java Browsing perspective or is this a general request to be applied to other views e.g. the Packages view in the Java perspective? I think it is useful more especially in the java browser perspective, but if it can be extended in others perspectives why not;-) regards Xavier changed summary defer to after 2.0 Post 2.0 review: VAJ is quite stupid when doing this, e.g. if you select write(int) in class A and then select B it selects the *first* method which is named "write". This might be write(int) but might also be write(byte) - even though there might be a method write(int) in class B. Would configurable via Members view menu. Candidate for 2.1 There are several problems with this feature 1) Eclipse keeps the state of editors i.e. when switching from A.java to B.java and back you don't lose the context while in VA/Java there was always only one editor pane. 2) VA/Java was in a closed world and could hard-wire the different panes (e.g. Type, Member and editor pane). This is not the Eclipse philosophy: each view should be reusable in another perspective. 3) While setting the selection in the Members view could be achieved it would be hard to force the editor to show the selected element without hard-wiring (see also 2). 4) Losing the previous cursor position in editor B.java when switching (back) from editor A.java to B.java is normally not what I (and probably you) want. However this would happen because in A you might work on method m() and when switching to B it would also switch to m() if there is such a member. This also means that sometimes the editor keeps the position when switching and sometimes it doesn't. Not on the 2.1 nor 3.0 plan. Setting to WONTFIX. Please reopen if you think this is a must have. I think that the need is still present. Maybe it is quite difficult to ensure with the way Eclipse is done today, but actually the requirement is still existing. regards Xavier ok. fair enough. I added the "helpwanted" keyword. Moving to LATER since it's not on the plan. As of now 'LATER' and 'REMIND' resolutions are no longer supported. Please reopen this bug if it is still valid for you. |