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

Clang-format is now formatting code I didn't tell it to format

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • Qt Creator 8.0.0
    • Qt Creator 8.0.0-beta1, Qt Creator 8.0.0-beta2
    • C/C++/Obj-C++ Support
    • None

    Description

      When I edit a piece of code and then save, it's forcefully formats the code with clang-format even though I don't want it to. I format code with CTRL+I as needed.

      This makes it impossible to work on code that doesn't come with a .clang-format file. Creator now forces my code style on every project I contribute to, which makes Creator completely unusable.

      Attachments

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

        Activity

          People

            artem.sokolovskii Artem Sokolovskii
            realnc Nikos Chantziaras
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes