Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 313507 - [Markers] Problems View Usability
Summary: [Markers] Problems View Usability
Status: RESOLVED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.6   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact: Hitesh CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-19 08:05 EDT by Marvin Fröhlich CLA
Modified: 2010-05-28 04:31 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marvin Fröhlich CLA 2010-05-19 08:05:34 EDT
Build Identifier: 20090920-1017

The problems view is a wonderful tool to more or less quickly eliminate problems. But sometimes it could be quicker.

Some days ago I made my compiler warnmings settings more strict and hence I got 1000 warnings.

It would be great, if I could simply mark a number of entries in the problems view and tell it to apply a quick fix to them all.

And it would be great, if I could mark one entry, select to apply the quickfix and this would automatically (1) apply the quick fix, (2) actually apply "add all missing tags" or what every is the first suggestion and (3) save the file. The problem view's focus should then be set to the entry, that is now at the previously selected position. I only have two hands and don'T want to switch from keyboard to mouse all the time.

Reproducible: Always
Comment 1 Olivier Thomann CLA 2010-05-19 08:15:31 EDT
Move to Platform/UI
Comment 2 Remy Suen CLA 2010-05-25 06:09:41 EDT
(In reply to comment #0)
> It would be great, if I could simply mark a number of entries in the problems
> view and tell it to apply a quick fix to them all.

This is already possible for some warnings such as warnings about non-externalized strings.
Comment 3 Hitesh CLA 2010-05-25 06:58:40 EDT
See Bug 252587 Comment #9.

The pre 3.4 version of Problems view enabled quickfix for multiple selections. I see why this may have been avoided intentionally in the newer versions of the view.
Comment 4 Marvin Fröhlich CLA 2010-05-25 11:11:48 EDT
At least if all the selected entries denote the same warning, quickifx should be available for a multi-selection.
Comment 5 Hitesh CLA 2010-05-26 08:26:01 EDT
(In reply to comment #4)
> At least if all the selected entries denote the same warning, quickifx should
> be available for a multi-selection.

This should be ideally handled by multi-fix, I suggest a new bug. I guess this would happen on a case-by-case basis (maybe on the same bug). Some problems are covered already, for example  Bug 252939 talks about making "Add @SuppressWarnings 'unused' to ..." a multi-fix.
Comment 6 Hitesh CLA 2010-05-28 04:31:35 EDT
See comments above .