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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Duplicate
    • Affects Version/s: Qt Creator 4.8.1, Qt Creator 4.8.2
    • Fix Version/s: None
    • Component/s: Editors
    • Labels:
      None
    • Platform/s:
      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

              • Assignee:
                davschul David Schulz
                Reporter:
                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