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

Creator does not apply correction indentation to initializer list items

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: P4: Low P4: Low
    • None
    • Qt Creator 2.6.2, Qt Creator 3.0.0-rc1
    • C/C++/Obj-C++ Support
    • None
    • OSX

      I use spaces only with 4 spaces set as the tab and indent sizes.

      When I hit return after a constructor definition and add a colon ':', Creator correctly indents the colon with 4 spaces.

      However if i hit return again at add the first member to initialize it applies 6 spaces

      MyConstructor::MyConstructor
          :
            m_memberData
      {
      }
      

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

            kandeler Christian Kandeler
            danny77uk Daniel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes