| Summary: | [Markers] Perform multiple quick fixes of same type at once | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Joerg Pleumann <joerg> |
| Component: | UI | Assignee: | Tod Creasey <Tod_Creasey> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | bogofilter+eclipse.org, ghulands, igor, markus, preuss, vlsergey |
| Version: | 2.1 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Joerg Pleumann
The first two can be fixed by selecting the project and using Organize imports. Are you selecting the errors in the task list ? Yes, the idea was to select then bugs in the bug list, because it is easy to select multiple items at once there. When opening the context menu for these, I'd like to see quick fixes that apply to all selected entries. If the tasks are too different, this list would be empty. Moving to platform since they own the task list. Yes, I REALLY would like to see this added. But not only using the task list, also by selecting text in the editor that contains more than one error (curly-underlined part). So it is NOT task-list specific! A good example is the quick fix for "Non-externalized string literal" in unit tests: It really drives you nuts to quick-fix them when you have 65 occurences in one file... *** Bug 82704 has been marked as a duplicate of this bug. *** *** Bug 96412 has been marked as a duplicate of this bug. *** "The method ... of type ... should be tagged with @Override since it actually overrides a superclass method" too (Bug 96412) Suggesting that this is a duplicate of 23889, which has a lot of discussion around batch fixing. Agree this is a duplicate of bug 23889. More importantly, why offer the intersection of all relevant fixes? Why not offer the superset, and apply the selected fix where relevant? (In reply to comment #10) > More importantly, why offer the intersection of all relevant fixes? > Why not offer the superset, and apply the selected fix where relevant? I think that would be confusing. At least give a warning (dialog?) that the fix will not be applied to all problems, perhaps with the option to cancel the action? Or even better, already mark fixes that do not apply to the whole selection appropriately in the context menu. *** Bug 110748 has been marked as a duplicate of this bug. *** *** This bug has been marked as a duplicate of 111429 *** |