Community
Participate
Working Groups
I am reporting on behalf of the Eclipse Checkstyle Plugin project. We have 2 similar bug reports where users are experiencing a strange phenomenon with the marker items the plugin creates. It seems that the marker description suddently goes blank, while the icons remain as they are. The two bug reports can be accessed here: https://sourceforge.net/tracker/index.php? func=detail&aid=1261926&group_id=80344&atid=559494 https://sourceforge.net/tracker/index.php? func=detail&aid=1212983&group_id=80344&atid=559494 Sadly I was never able to reproduce the problem on my system - which leaves me nothing than to ask for help here. One user pointed to this bug report against eclipse, which may be related to the problem: https://bugs.eclipse.org/bugs/show_bug.cgi?id=94184
It is likely the same as Bug 94184. I have to see if I can look at this without violating the Eclipse Public License at this project is not hosted on Eclipse.org
I don't know much about license issues. The Eclipse Checkstyle Plugin project is a non-commercial project - we are entirely developing in our spare time. The plugin itself is issued under the LGPL, the complete sources and binaries are freely available on our sourceforge page. If I can do anything to make it easier for you (for instance attaching the plugin to this report) please tell me. Regards, Lars Ködderitzsch
We can always look at anything attached to Bugzilla - otherwise I have to check with the lawyers here.
Created attachment 26314 [details] eclipse-cs plugin binary
Created attachment 26315 [details] eclipse-cs plugin sources
I attached to plugin in binary and source builds to the report. I needed to strip out all documentation to remain within the 2000 kb limit for attachments. The markers are created within the Auditor class of the plugin (in the inner class CheckstyleAuditListener to be more specific). In addition to the lineNumber attribute, the charStart and charEnd attributes of the marker is set as well. This is needed to see MarkerAnnotations within the Eclipse editors. The Checkstyle core only provides line based offsets but CharStart is a document based offset. To calculate the offset the document for the current resource is created and used to determine the document based offset. CharEnd is always set to the end of the line where CharStart lies.
*** This bug has been marked as a duplicate of 83992 ***