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

Extra brace being inserted

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes