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

format-pretty-print hardcodes indentation width to 4

XMLWordPrintable

      A DESCRIPTION OF THE PROBLEM :
      When the LSSerializerImpl sets "format-pretty-pring", it implicitly hardcodes indentation width to 4. This may be fine in most cases. But I consider it a bug, that there's no way to change it.

      There should be an implementation detail of setParameter(), that receives the indentation width.


      CUSTOMER SUBMITTED WORKAROUND :
      There is no workaround.

      FREQUENCY : always


            joehw Joe Wang
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: