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

C++ IDE formatting bug (minor)

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes