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

stddoclet: Implement -sourcetab to convert tabs to spaces

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 5.0
    • Fix Version/s: 5.0
    • Component/s: tools
    • Subcomponent:
    • Resolved In Build:
      b46
    • CPU:
      generic
    • OS:
      generic

      Description

      Comments in between <pre> tags are not indented properly because the doclet
      does not know how many spaces to replaces tabs with. We already have an
      *undocumented* option -linksourcetab to specify the number of spaces for
      each tab in source files that works with the -linksource option.
      These pages are entirely in the <pre> tags. We should make the -linksourcetab
      option more general (and rename it to -sourcetab) so that it can be used in other ways.

      Also, if a developer uses tab characters to align columns
      similar to a table, these should also be converted to spaces.
      This implies converting tabs globally throughout the comment.

        Attachments

          Activity

            People

            Assignee:
            jhosunw Jamie Ho (Inactive)
            Reporter:
            jhosunw Jamie Ho (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: