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

jjs should support documentation key shortcut in interactive mode

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b99
    • CPU:
      generic
    • OS:
      generic

      Description

      jshell supports shift-tab for documentation. So far, it seems to just display overload variants of a java method.

      jjs should support documentation key shortcut as well. jjs can show

      *) javadoc of java type in desktop browser
      *) function specific documentation for script function (we can annotate builtin functions with documentation property and that can be shown). If function document is not available, source code of script function can be shown.
      *) if document is missing, toString output can be shown
      --- toString on overloaded dynamic Java methods will show overload variants

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: