Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-3737

groovydoc and other groovy bugs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.6.8, 1.7.1, 1.8-beta-1
    • GroovyDoc
    • None

    Description

      1. groovydoc doesn't understand

      {@code xxx}

      .
      2. groovydoc doesn't handle

      {@link xxx}

      correctly.
      If I'm in a.b.C and I write

      {@link D}

      it should work but it doesn't.
      I must write

      {@link a.b.D}

      (note: same package).
      3. groovydoc doesn't handle # correctly. If I write

      {@link a.b.C#f()}

      it displays "C#f" instead of "C.f()".
      If I write

      {@link a.b.C#f() C.f()}

      , it displays the same thing as
      before. Apparently it ignores the second argument.
      4. There is no way to specify a style sheet (CSS file). This is a
      significant problem for me and maybe others.
      5. "<ctrl>2 r" doesn't work correctly For example if I have a method and I change its argument name, only the argument name is changed. The name in the body of the method and in the mathod's javadoc comment are not changed.
      6. <alt><shift>R doesn't work correctly. For the same experiment as in 5, it changes the body but not the comment. If I try
      <alt<shift>R on a field it bombs with "Unhandled event loop exception java.lang.StackOverflowError". This is a high priority since it blows away eclipse.
      7. "Run as groovy shell" doesn't work. The shell starts and prints its startup message to the console. It then apparently exits immediately with no error message.
      8. If a class file has a comment (even an empty one) before the package declaration, then it doesn't display the comment before the "class xxx" line as it should. I don't think javadoc does this. In fact I think javadoc uses a file named
      package-doc.java with the comment before the package declaration to generate the package.html file.

      Attachments

        Activity

          People

            paulk Paul King
            hermit69 Steve Buroff
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: