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

AlignTrailingComments option outdated in settings

    XMLWordPrintable

Details

    • All

    Description

      With QtCreator 10, the bundled llvm version has been updated to llvm 16. In version 16, the following clang-format settings has changed:

      AlignTrailingComments: true
      

      It used to be a boolean, but that is no longer the case starting with llvm16:

      AlignTrailingComments: 
          Kind: Always
          OverEmptyLines: 2
      

      (see https://releases.llvm.org/16.0.0/tools/clang/docs/ClangFormatStyleOptions.html#aligntrailingcomments ).

      The ui in qt creator should reflect this change (currently it still shows as a tri-valued bool)

      Attachments

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

        Activity

          People

            artem.sokolovskii Artem Sokolovskii
            julienblanc-sprinte Julien Blanc
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes