Bug 506044

Summary: [quick fix] Import quick fix cannot be used as multi-fix
Product: [Eclipse Project] JDT Reporter: Marc-AndrĂ© Laperle <malaperle>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: ASSIGNED --- QA Contact:
Severity: enhancement    
Priority: P3 CC: daniel_megert, gautier.desaintmartinlacaze
Version: 4.6   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Test project none

Description Marc-André Laperle CLA 2016-10-16 17:10:35 EDT
Created attachment 264882 [details]
Test project

Using Neon.1

When the same import is missing in multiple files, it is not possible to select all of the problems in the Problem view and apply the same quick fix.

1. Import attached project (it contains 2 files with the same missing import)
2. Open the Problem view
3. Select both "List cannot be resolved..." problems (Ctrl-click).
4. Right-click, select Quick Fix

A prompt comes up "the selected problems do not have a common applicable quick fix". But in theory, they have 'Import List' as common quick fix.