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

Pressing new line in {} for else statement add extra }

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 4.8.1, Qt Creator 4.8.2
    • Editors
    • None
    • Linux/X11

    Description

      When editing cpp if / else statement braces on if part is correct but for else a second } is inserted

      if (condition) {
         //
      } else {
         //
      }}
      

      Attachments

        Issue Links

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

          Activity

            People

              davschul David Schulz
              oguilb olivier GUILBAUD
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes