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

Extra brace being inserted

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4: Low P4: Low
    • None
    • Qt Creator 2.8.1
    • None

      With the following code:

      import QtQuick 2.0
      
      Image {}
      

      Hitting 'Enter' between the two braces will produce:

      import QtQuick 2.0
      
      Image {
          
      }}
      

      It would be nice if the extra brace was not inserted in this case.

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

            fawzi Fawzi Mohamed
            mbrasser Michael Brasser
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes