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

When using qmlformat on a QML file that has qdoc style comments it will misplace the comments even if they are attached

    XMLWordPrintable

    Details

    • Platform/s:
      All

      Description

      When using qmlformat on a QML file that has qdoc style comments it will misplace the comments even if they are attached. So anything like:

      /*!
          This is a comment
      */
      function updateUI()
      {
      }
      

      will cause the comment to be moved elsewhere. Whereas it should stay attached to the function.

        Attachments

        1. form.qml
          0.3 kB
          Andy Shaw
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            max.goldstein Maximilian Goldstein
            Reporter:
            andysh Andy Shaw
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes