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

qmlformat: Post-Comment moves ';'

    XMLWordPrintable

Details

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

    Description

      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    

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes