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

Clang-format on save does not work for headers

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Not Evaluated
    • None
    • Qt Creator 4.13.2
    • All Other Issues
    • None
    • Ubuntu 20/10
    • Linux/X11

    Description

      I have set up beautifier to to autoformat files on save. This only works for source files, not headers. Further details:

      • Using the Meson project plugin
      • Beautifier set to clang-format, style "file", format on save
      • Running Tools -> beautifier -> clang-format -> format current file works
      • The mime type list does contain text/x-c++hdr

      Attachments

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

        Activity

          People

            con Eike Ziller
            jpakkane Jussi Pakkanen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes