I have a custom editor with problem markers. The markers display correctly in the "problems" view with icon, location and text, and the problem icons display corre
In your class that extends org.eclipse.jface.text.source.SourceViewerConfiguration, just include the following:
@Override
public IAnnotationHover getAnnotationHover(ISourceViewer sourceViewer) {
return new DefaultAnnotationHover();
}
this includes the text of all markers of a line in the hover text of the problem marker in the margins of the text editor.