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

    Details

      Description

      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)
              }
          }
      

        Attachments

          Issue Links

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

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes