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

AlignTrailingComments option outdated in settings

XMLWordPrintable

    • All

      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)

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes