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

C++ IDE formatting bug (minor)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 3.1.1
    • C/C++/Obj-C++ Support
    • None
    • Ubuntu 64bits

      The following C++ line is the source of the unwanted behaviour of the C++ editor: (where a is double* and n is int)
      a = new double[n = 5];
      Wherever you go after this line and press Return, the indentation does not work anymore. This can simply be fixed by writing:
      a = new double[(n = 5)];
      However, I doubt that this is a normal behaviour, so I reported it.

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

            kosjar Nikolai Kosjar
            baz1 Remi Bazin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes