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

Creator does not apply correction indentation to initializer list items

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4: Low
    • Resolution: Unresolved
    • Affects Version/s: Qt Creator 2.6.2, Qt Creator 3.0.0-rc1
    • Fix Version/s: None
    • Component/s: C/C++/Obj-C++ Support
    • Labels:
      None
    • Environment:
      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

            • Assignee:
              kosjar Nikolai Kosjar
              Reporter:
              danny77uk Daniel
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:

                Gerrit Reviews

                There are no open Gerrit changes