| Summary: | [correction][projection] Quick assist on folded imports does not give assistance for folded contents | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Robert Konigsberg <konigsberg> |
| Component: | Text | Assignee: | JDT-Text-Inbox <jdt-text-inbox> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P4 | ||
| Version: | 3.3 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | stalebug | ||
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. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. 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. -- The automated Eclipse Genie. |
For build I20070503-1400, add a class with the following contents: import java.util.ArrayList; // line 1 import java.util.List; // line 2 class Foo { public ArrayList<Object> foo = null; } The import java.util.List isn't used, so there will be a compiler warning on line 2. The editor will look like this: import java.util.ArrayList; // line 1 [*] import java.util.List; // line 2 class Foo { public ArrayList<Object> foo = null; } If, however, the imports are folded, as they often are, the UI will look like this; [*] + import java.util.ArrayList; // line 1 class Foo { public ArrayList<Object> foo = null; } So if I move the cursor to line 1 and press Ctrl-1, no assistance is available. So what are the possible solutions? 1. Automatically expand folded code when CTRL-1 is available, and move the cursor to the first location. 2. Display all quick fixes en masse. Just some thoughts. Anything that gets me one step closer to the quick fix would make fixing ... quicker. :) Thanks