Community
Participate
Working Groups
It would be nice if Eclipse allowed to select and perform multiple quick fixes of the same type at once. Otherwise, if - for example - you import old source code into Eclipse the first time and want to clean it up, you have to select dozens of errors or warning and run the (same) quick fix for each of them. At least that's when I encounter this problem regularly. Good examples for this are: - Add missing import - Remove unused import - Add to version control - Add to .cvsignore - Static field should be accessed in static way
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 ***