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

Run on lines always get 4 spaces indent

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • Qt Creator 2.1.0
    • Qt Creator 1.3.1
    • Editors
    • None
    • Linux Red hat EL 5, 64 bit
    • 27578a6c2c78138d6259f88660867e50ebaac604

    Description

      I have my indentation set to 2 spaces, but creator inserts 4 in certain cases...

      struct X :
        public Y
      {
        int a;
      
        X(int a_) :
          a(a_)
        {
        }
      }
      

      It will insert 4 spaces on the inherited classes and constructor list. Frustrating.

      Attachments

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

        Activity

          People

            ckamm Christian Kamm
            ianthomson Ian Thomson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes