Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-28293

Value types are removed when using tools -> qml -> reformat file

    XMLWordPrintable

Details

    Description

      When you have functions that define types / return types in order to avoid qmllint complaining about qualified access like one of those in a qml file,

      function returnSomething(value: real): real
      
      { return value; }
      

       
      and you use tools -> qml -> reformat file, the types are removed, altough they should not be.

      Attachments

        1. qualified-access-gone.PNG
          qualified-access-gone.PNG
          72 kB
        2. creator-about.PNG
          creator-about.PNG
          69 kB
        3. before-ctrl-i.PNG
          before-ctrl-i.PNG
          80 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtqmlteam Qt Qml Team User
            denishessberger Denis Hessberger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes