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

Automatic adding of closing brackets kind of broken

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P2: Important
    • None
    • Qt Creator 3.1.0-beta
    • Editors
    • Mac OSX 10.8.5, Creator based on Qt5.2.0, Xcode 5.0.2
      Ubuntu 12.04 32bit, Creator based on Qt5.2.0

    Description

      Steps to reproduce:

      • create an empty Qt project
      • add a source file to this project (main.cpp)
      • Editor opens the empty cpp file automatically
      • type
        int main() {
        

        and hit Enter

      Current result:

      • cursor is placed into the next line (with correct indentation), but function does not get a closing bracket automatically

      Expected result:

      • current result + automatically added closing bracket

      Notes:

      • removing the code, switching to the pro-file and back to the cpp-file and re-doing the steps above make this work again…
      • works on 3.0 branch

      Attachments

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

        Activity

          People

            kosjar Nikolai Kosjar
            cstenger Christian Stenger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes