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

ClangFormat: Strange indention for initializer lists

    XMLWordPrintable

    Details

    • Commits:
      e9d0083ccd80c1edd09fb1dd5e97d48585b5507f (qt-creator/qt-creator/4.8)

      Description

              std::vector<QString> foo3 = {
                  {"foo"},
                  {"blah"},
                  {"foo"}, 
                  {"dfdfd"} -->> type here , };
      

      If you type "," your get a line break. If you press CRTL+i it will be in one line again.

        Attachments

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

          Activity

            People

            • Assignee:
              yvvan Ivan Donchevskii
              Reporter:
              bubke Marco Bubke
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes