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. before-ctrl-i.PNG
          80 kB
          Denis Hessberger
        2. creator-about.PNG
          69 kB
          Denis Hessberger
        3. qualified-access-gone.PNG
          72 kB
          Denis Hessberger

        Activity

          People

            fawzi Fawzi Mohamed
            denishessberger Denis Hessberger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: