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

qmlformat can still insert extra spaces in user code

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • 6.10
    • 6.10
    • QML: Tooling
    • None
    • 5f2cf0940 (dev), a3863b2d8 (dev), 240d2d190 (dev), bc6b4940a (dev), 9b4b6d9e3 (6.10), d8a1e840e (6.10), a46ee0635 (6.10), 70ab48778 (6.10)

    Description

       

      Even after https://bugreports.qt.io/browse/QTBUG-131386 was fixed, there are still more places where extra spaces get inserted in the user's code.

      QtObject /**/ {}
      

      becomes

      QtObject /**/  {}
      

      see Binding::preCodeForName(QStringView n)

       

      More such cases exist.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-133315
          # Subject Branch Project Status CR V

          Activity

            People

              qtqmlteam Qt Qml Team User
              olivier.decanniere Olivier De Cannière
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: