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

    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

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

          Activity

            People

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

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes