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

When using the reformat file under the QML option it can modify QML to be invalid

XMLWordPrintable

      When using the format QML option it can modify QML to be invalid. For example the following snippet will change from:

          function swap(from, to) {
              for (var i = 0; i < 10; ++i) {
                  console.log(i)
              }
          }
      

      to

       function swap(fromto) {
              for (; i < 10; ++i) {
                  console.log(i)
              }
          }
      

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

            tjenssen Tim Jenssen
            andysh Andy Shaw
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes