Bug 506044 - [quick fix] Import quick fix cannot be used as multi-fix
Summary: [quick fix] Import quick fix cannot be used as multi-fix
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.6   Edit
Hardware: PC Linux
: P3 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-16 17:10 EDT by Marc-André Laperle CLA
Modified: 2016-10-19 19:59 EDT (History)
2 users (show)

See Also:


Attachments
Test project (8.28 KB, application/zip)
2016-10-16 17:10 EDT, Marc-André Laperle CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.