Community
Participate
Working Groups
In WTP we consider replacing the Problems and Tasks view with the Markers view. I have noticed a major limitation in the Markers view when working with 'problem' markers - The Quick Fix action is not available (see the attached screenshot): neither in the context menu, nor as a hotkey. I suspect that the root of the problem is that the Markers view has only actions that are common for all markers type and discards actions that are specific for each marker type.
Created attachment 115376 [details] screenshot
Reproduced on I20081007-1600.
Created attachment 115609 [details] patch We use a trick where every command that is bound to MarkersView shows up in all MarkersViews - see init(IViewSite site, IMemento memento) in ExtendedMarkersView. In the case of QucikFix is set to only enable when the problems view is showing - you need to add the markers view too. I'll attach a patch to the bug. Quick fix was a special case as we had to filter it out of tasks and bookmarks.
I applied this patch on top of I20081007-1600. It really adds the 'Quick fix' action the the context menu, but: * it is always disabled no matter if there is a quick fix available. * it appears for all marker types instead of only to Problems.
Ping... Do we have progress on this issue?
Created attachment 118743 [details] patch handler and command > * it is always disabled no matter if there is a quick fix available. > * it appears for all marker types instead of only to Problems. <with variable="selection"> <iterate ifEmpty="false" operator="and"> <adapt type="org.eclipse.core.resources.IMarker" > <test value="org.eclipse.core.resources.problemmarker" property="org.eclipse.ui.ide.marker.superType"/> </adapt> </iterate> </with> This is not absolutely needed, but fixes > * it appears for all marker types instead of only to Problems. Wondering if this would affect the time it takes for menu to show up. Tod, your thoughts on the patch?
I have tried the patch and it seems to work properly.
Is there any chance that this patch goes in HEAD soon?
Eric, I think we should go ahead with the last patch.
Committed in >20090115. Applied the patch.
Thank you! Verified with N20090116-2000.