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

qmlformat can still insert extra spaces in user code

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • 6.10
    • 6.10
    • QML: Tooling
    • None
    • d8a1e840e (6.10), a46ee0635 (6.10), 70ab48778 (6.10), df4fb90c7 (6.9), fcd85f201 (6.9), e4cbd81ca (6.9), 6436e8716 (6.9), d41f97e86 (dev), 8d99b36b8 (tqtc/lts-6.8), 68fca3511 (tqtc/lts-6.8), 3848ec04e (tqtc/lts-6.8), ca263ec76 (tqtc/lts-6.8)

       

      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.

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

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

              Created:
              Updated: