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

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

    XMLWordPrintable

Details

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

    Description

      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".

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes