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

qmlformat refuses to format files even with -f flag

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P3: Somewhat important
    • None
    • 6.4.0
    • QML: Tooling
    • None

    Description

      Sample code:

      Rectangle {
                         anchors.left: parent.left; anchors.top: parent.top; anchors.right: parent.right; anchors.leftMargin: 20
      }
      
      
      Text {
        			        text: "hello"
      
      
      
      font.bold: true; font.italic: true; font.pixelSize: 20; font.capitalization: Font.AllUppercase
      }
      

      qmlformat returns:
      [Dom][QmlFile][Parsing] Error: Syntax error for .currentItem

      Attachments

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

        Activity

          People

            qtqmlteam Qt Qml Team User
            yvvan Ivan Donchevskii
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes