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

QtCreator 5 break indentation rules for class in cpp

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3: Somewhat important
    • Qt Creator 7.0.0
    • Qt Creator 5.0.0, Qt Creator 6.0.0, Qt Creator 6.0.1, Qt Creator 7.0.0
    • Test Integration
    • Linux/X11

    Description

      In Qt Creator 5, create a new unit tests project. Indentation now result broken for class declaration in cpp file

       

      class ImageBuffer : public QObject
      {
         Q_OBJECT
            
            public:
                     ImageBuffer();
       
      private slots:
       void construct();
      // ...
      };
      

      Attachments

        1. .clang-format
          3 kB
        2. .clang-format-default
          5 kB
        3. plugin01.png
          plugin01.png
          228 kB
        4. plugin02.png
          plugin02.png
          228 kB
        5. QtCreator.ini
          155 kB
        6. system_information
          15 kB
        7. system_information2
          14 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            artem.sokolovskii Artem Sokolovskii
            moia Maurizio Ingrassia
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes