Uploaded image for project: 'Maven Checkstyle Plugin'
  1. Maven Checkstyle Plugin
  2. MCHECKSTYLE-291

Change format of violation message

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.15
    • 2.17
    • None
    • None

    Description

      For example on LineLength violation in console I get the following error:
      [ERROR] src\test\java\com\test\SampleTest.java [89] (sizes) LineLength: Line is longer than 180 characters (found 202).

      It would be better to have colon and line number instead of braces, so that I can directly paste the reference to IntelliJ and go to affected line:
      [ERROR] src\test\java\com\test\SampleTest.java :89 (sizes) LineLength: Line is longer than 180 characters (found 202).

      The same format has exception stacktrace in Java.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            michael-o Michael Osipov
            mkordas Michal Kordas
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment