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

Improve layout of search results

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 25
    • 9
    • tools
    • b15
    • generic
    • generic

      The search feature in javadoc-generated API docs supports a two row format for results in the pop-up menu with a small row in italic font providing a further description of the result item. This is currently used only for search tags and related result items.

      All API elements in search results are currently displayed as single row:

      module.name
      module.name/package.name
      package.name.ClassOrInterface
      package.name.ClassOrInterface.methodName(...)

      It would be very useful to use two row for API elements (except for modules):

      package.name
      package in module module.name

      ClassOrInterface
      class/interface in package package.name

      methodName(...)
      method in class package.name.ClassName

      The same message should be used in the search page, which currently just shows the enclosing element but doesn't mention what kind of element it is.

            hannesw Hannes Wallnoefer
            hannesw Hannes Wallnoefer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: