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

Mixed indentation is unclear

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 15.0.0
    • Editors
    • None

    Description

      The "Mixed" tab policy is unclear and undocumented. I have no idea what it means, and it looks like it just replaces tabs with spaces.

      I found a similar QTCREATORBUG-11675 that was reported long ago.

      It could be really useful to have a real "Mixed" policy, that uses tabs/spaces according to the surrounding lines.

      I know it's bad, but we have files with both spaces and tabs in the same file, and when I edit such a file, unless I want to reformat an entire section, I have to play with the settings back and forth, or to just disable "Clean indentation".

      Also relates to QTCREATORBUG-31545.

      Attachments

        Issue Links

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

          Activity

            People

              davschul David Schulz
              orgads Orgad Shaneh
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes