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

.clang-format overrides tab size

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • Qt Creator 15.0.0

    Description

      The whole point of using tabs is to let everyone set their desired visual indent width. This mode can be achieved in clang-format with the 'UseTab: AlignWithSpaces' setting. However, QtC always takes tab width from .clang-format and overrides the editor settings, defeating the whole purpose of using tabs for indentation. Please add an option to avoid that (or, better yet, an option to follow .clang-format settings).

      Attachments

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

        Activity

          People

            hjk hjk
            eugeneshalygin Eugene Shalygin
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes