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

ClangFormat: Code is not indented anymore when creating a project from wizard

    XMLWordPrintable

Details

    • e57c1268ee302bd78059a13a046eade9d896c61e (qt-creator/qt-creator/master)

    Description

      Create a Qt Console Application from the wizard. If ClangFormat is loaded, there is no indentation:

      #include <QCoreApplication>
      
      int main(int argc, char *argv[])
      {
      QCoreApplication a(argc, argv);
      
      return a.exec();
      }
      

      Deactivate the plugin and create another Qt Console Application - the indentation is fine.

      Attachments

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

        Activity

          People

            yvvan Ivan Donchevskii
            kosjar Nikolai Kosjar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes