Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8146253

jjs should look for "doc string" property to print documentation on shift-tab

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P3
    • 9
    • 9
    • core-libs
    • b100
    • generic
    • generic

    Description

      jjs prints documentation for built-in JS functions, java packages and java classes. But, for user defined functions source code is printed for anything else jjs prints "toString" value. This may not be the best documentation. jjs should support __doc__ property on JS objects. i.e., if __doc__ property is defined on the object, jjs should print string value of __doc__ property. This is like docstring in Python ( https://en.wikipedia.org/wiki/Docstring )

      Attachments

        Issue Links

          Activity

            People

              sundar Sundararajan Athijegannathan
              sundar Sundararajan Athijegannathan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: