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

qmlformat inserts a new space after block comment on file save

    XMLWordPrintable

Details

    • macOS, Windows
    • 711b643d5 (dev), 312103ae6 (6.9), 63e9a3f69 (6.8)

    Description

      import QtQuick
      
      Item {
          Item {
              anchors.fill:/*parent*/ parent
          }
      }
      
      

      execute qmlformat on this file repeatedly and observe the space between /*parent*/ and parent grows indefinitely.

       

      qmlformat <File Name> -i

      Attachments

        Issue Links

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

          Activity

            People

              olivier.decanniere Olivier De Cannière
              jclink Jessia Clinkscale
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes