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

Qt Creator the ability to specify arguments for clang-format

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 18.0.0
    • All Other Issues
    • None
    • Windows

      In the settings Beautifier — ClangFormat — ClangFormat command I try to specify this command:

      clang-format -i ----Wno-error=unknown

      instead of default value

      clang-format

      and then I get error:

      Error in text formatting: Cannot call clang-format -i ----Wno-error=unknown or some other error occurred. Timeout reached while formatting file C:\Users\user.name\Projects\Project0\src\SourceFile0.cpp.

      Why can't I specify additional parameters for clang-format?

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

            Unassigned Unassigned
            rumgot rumgot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes