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

qmlformat should not break empty objects

    XMLWordPrintable

Details

    • 26fa3d2cef8ec55dfb276e999d41e01e9a846093 (qt/qtdeclarative/dev)

    Description

      Hi,

       

      a = {}
      
      // becomes
      
      a = {
      };
      

       

      for empty objects, one line is far better.

       

       

      Attachments

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

        Activity

          People

            max.goldstein Maximilian Goldstein
            jgirardet Jimmy Gir
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes