val marker = file.createMarker(MyMarkers.MY_WARNING) // also tried MarkerTypes.NORMAL_VALIDATION here
marker.setAttribute(IMarker.MESSAGE, "My warning message")
marker.setAttribute(IMarker.SEVERITY, IMarker.SEVERITY_WARNING)
marker.setAttribute(IMarker.CHAR_START, 0)
marker.setAttribute(IMarker.CHAR_END, 0)
marker.setAttribute(Issue.CODE_KEY, MyMarkers.MY_WARNING)
marker.setAttribute(Issue.COLUMN_KEY, 0)
marker.setAttribute(Issue.URI_KEY, URI.createPlatformResourceURI(file.fullPath.toString, true).toString)
marker.setAttribute(IMarker.LINE_NUMBER, 0)
marker.setAttribute(IMarker.LOCATION, "line: " + 0 + " " + file.fullPath.toString())
marker.setAttribute("FIXABLE_KEY", true);