Missing QuickAssist in XML Editor marker columnhttps://www.eclipse.org/forums/index.php/mv/msg/148874/468396/#msg_468396
I'm stuck with the following problem (with both Eclipse 3.4 and 3.5): I'm
developping an extension that performs content validation on log4j.xml
files
I works fine and I get warnings (and errors) both in the problem view and
the XML editor, with "quick fix" available in both views, except from the
editor's left column that contains the warning markers. In this particular
case, i see the marker warning icon, but no little light bubble decorator
indicating that a quick assist (or quick fix) is available from the
contextual menu.

Also, setting a custom problemType to the marker at runtime with
marker.setAttribute("problemType", problemType);

And adding a problemType attribute in the quickFixProcessor extension does
not work any better...

Yet, I'm sure there must be a way to have this quickfix/quickassist
assistant from the contextual menu in the left column. Both Java Editor
and Ant Editor provide such a feature, so why not XML Editor ?

Can you help me ?

Thank you in advance.

Xavier

PS : I know I already mailed on this mailing list and got some answers
that helped me, but did not fully solved this problem. Thank you again for
taking time to help me ;-)]]>Xavier Coulon2009-08-05T11:46:41-00:00Re: Missing QuickAssist in XML Editor marker columnhttps://www.eclipse.org/forums/index.php/mv/msg/148874/468447/#msg_468447
> I'm stuck with the following problem (with both Eclipse 3.4 and 3.5):
> I'm developping an extension that performs content validation on
> log4j.xml files
> I works fine and I get warnings (and errors) both in the problem view
> and the XML editor, with "quick fix" available in both views, except
> from the editor's left column that contains the warning markers. In this
> particular case, i see the marker warning icon, but no little light
> bubble decorator indicating that a quick assist (or quick fix) is
> available from the contextual menu.
>...
> Also, setting a custom problemType to the marker at runtime with
> marker.setAttribute("problemType", problemType);
>
> And adding a problemType attribute in the quickFixProcessor extension
> does not work any better...
> Yet, I'm sure there must be a way to have this quickfix/quickassist
> assistant from the contextual menu in the left column. Both Java Editor
> and Ant Editor provide such a feature, so why not XML Editor ?

For WTP's editors, the committers have been somewhat uncreative in
coming up with Quick Fixes / Quick Assists. So you're not missing
anything, it's just never been implemented.

Want to lend us a hand in doing so? All it takes is a RFE in
Bugzilla to start the ball rolling.

> Xavier Coulon wrote:
>> I'm stuck with the following problem (with both Eclipse 3.4 and 3.5):
>> I'm developping an extension that performs content validation on
>> log4j.xml files
>> I works fine and I get warnings (and errors) both in the problem view
>> and the XML editor, with "quick fix" available in both views, except
>> from the editor's left column that contains the warning markers. In this
>> particular case, i see the marker warning icon, but no little light
>> bubble decorator indicating that a quick assist (or quick fix) is
>> available from the contextual menu.
> >...
>> Also, setting a custom problemType to the marker at runtime with
>> marker.setAttribute("problemType", problemType);
>>
>> And adding a problemType attribute in the quickFixProcessor extension
>> does not work any better...
>> Yet, I'm sure there must be a way to have this quickfix/quickassist
>> assistant from the contextual menu in the left column. Both Java Editor
>> and Ant Editor provide such a feature, so why not XML Editor ?

> For WTP's editors, the committers have been somewhat uncreative in
> coming up with Quick Fixes / Quick Assists. So you're not missing
> anything, it's just never been implemented.

> Want to lend us a hand in doing so? All it takes is a RFE in
> Bugzilla to start the ball rolling.]]>Xavier Coulon2009-08-05T15:16:05-00:00