Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-133685

qmlformat: Post-Comment moves ';'

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: P2: Important P2: Important
    • 6.10
    • 6.8
    • QML: Tooling
    • None
    • All

      When adding // to a JS object, the trailing ";" will be moved inside the braces.

      For example this lines:

          property var a: { a, b, c }; //comments

      Will be formatted to:

          property var a: {
              a, b, c;
          } //comments    

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

            qtqmlteam Qt Qml Team User
            ovidiu.tepescu Ovidiu Tepescu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes