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

QtCreator duplicate closing brace when pressing "Enter" inside empty braces

XMLWordPrintable

    • Linux/Wayland
    • 8c7d4414d (master)

      When placing cursor inside an empty brace pair

      void f()
      { // cursor is here
      } 

      and pressing "Enter",  QtC inserts not only an empty line, but also one more closing brace:

      void f()
      {
          // cursor is here
      }
      }

       Does not happen when initial brace pair is in the single line.

        For Gerrit Dashboard: QTCREATORBUG-31601
        # Subject Branch Project Status CR V

            artem.sokolovskii Artem Sokolovskii (Inactive)
            eugeneshalygin Eugene Shalygin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes