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

qmlformat re-ordering comments

    XMLWordPrintable

Details

    • 20370505b3b38a5eaa73692557cd80a0ecc60bff (qt/qtdeclarative/5.15)

    Description

      In the attached example files, there are two comments which order is swapped after running qmlformat on the file.

      Additionally, the first multi-line comment is set apart from the following lines with a empty line, while the second one is not.

      Attachments

        1. ImageSvgHelper.comment_now_higher.qml
          2 kB
        2. ImageSvgHelper.qml
          2 kB
        3. main_formatted.qml
          2 kB
        4. main.qml
          2 kB
        For Gerrit Dashboard: QTBUG-82259
        # Subject Branch Project Status CR V

        Activity

          People

            max.goldstein Maximilian Goldstein
            VersalEszett Julius Bullinger
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes