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

Creator does not apply correction indentation to initializer list items

    XMLWordPrintable

Details

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

    Description

      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
      {
      }
      

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes