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

Tab and Indentation setting is not adhered

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 17.0.1, Qt Creator 17.0.2
    • Editors
    • None
    • Gentoo, licensed Qt with Qt and QtCreator installed using the Qt maintenance tool. KDE Wayland, Plasma 6.4.5, KDE Framework 6.18.0, OS QT-version 6.9.2
    • Linux/Wayland

      Tab size is 8 even though I have set all indentation settings I could find to 4:

      Text Editor->Behavior->

      • Default indent size is 4,
      • tab size is 4. 

      C++>General>

      • default indent size is 4,
      • tab size is 4

      C++>content>

      • "public, protected and private within clas body" is true
      • declarations relative to public.... is true

       

      Yet indentation in a class-body is mase using a tab size and indentation of 8:

       

      class RichtTextWriter
      {{{}}
              
              public:
                      RichtTextWriter(QTextDocument& document);
      }

       

      I think this is a recent problem.

        1. MainWindow.cpp
          0.6 kB
          Erik Ridderby
        2. MainWindow.h
          0.4 kB
          Erik Ridderby
        3. MainWindow.ui
          0.8 kB
          Erik Ridderby
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            davschul David Schulz
            erikrl Erik Ridderby
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes