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

jjs should support documentation key shortcut in interactive mode

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P3
    • 9
    • 9
    • core-libs
    • b99
    • generic
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: