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

Project .clang-format no longer works (since 12.0)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 12.0.0, Qt Creator 12.0.1, Qt Creator 12.0.2
    • None
    • Windows

      Per project .clang-format in the root of the project was working fine on 11.0.3. When upgrading to any 12.0 series QtCreator, it no longer works.

       

      Also trying to replace the .clang-format in %APPDATA%\QtProject\qtcreator\clang-format\Qt (or custom) results in the clang-format file put into this directory getting replaced by something else by QtCreator when QtCreator is launched and the "Code Style" window is opened.

       

      Setting "Use custom settings" checked or unchecked does not have any effect. Formatting mode is not "Use build-in indenter".

        1. .clang-format
          5 kB
          Toni Heimala
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            artem.sokolovskii Artem Sokolovskii (Inactive)
            snild Toni Heimala
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes