Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-22258

Array elements removed when using Reformat File

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 4.9.0-beta1
    • Quick / QML Support
    • None
    • Qt Creator 4.9.0-beta1 (4.8.82)
      Based on Qt 5.12.1 (GCC 5.3.1 20160406 (Red Hat 5.3.1-6), 64 bit)
      Built on Feb 20 2019 01:16:36
      From revision c134850255
    • Windows

    Description

          property var m: [
              "5","10","15","20","30","60"
          ]
      

      becomes

          property var m: [, , , , , ]
      

      when using Tools => QML/JS => Reformat File.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              tjenssen Tim Jenssen
              mitch_curtis Mitch Curtis
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes