[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.jdt] Re: Quick Fix LightBulb, Ctrl-1, and image on IMarkerResolution2 not present

Jan H. van der Ven wrote:

Sorry, if I post this in the wrong group. It should go in Plugin Development, but there seems to be no newsgroup.

My problem is that the markers I have defined for my SQL Editor only appear in the Problems view and in the editor itself with nice red squiggly lines.

The quick fixes are accessible from the Problems view only: no light bulb and no Ctrl-1.

Furtermore I added images to the Quick Fix (IMarkerResolution2) but these do not show up.

What am I missing here?

Quick Assist/Fix is only surfaced in the Java editor. Since 3.2 M5 there's now also API in Platform Text that allows editor writers to offer this in their editor. To make this work you need to configure a quick assist assistant via source viewer configuration,
see: org.eclipse.jface.text.source.SourceViewerConfiguration#getQuickAssistAssistant(org.eclipse.jface.text.source.ISourceViewer)
and retarget the quick assist command in your editor action bar contributor.


Dani


Please advise.

Jan