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

Auto detect indentation from content

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • None
    • Editors

    Description

      It would be really nice if Qt Creator could auto-detect indentation (spaces/tabs, and tab size) from file contents.

      We have many files with different tab/space indentation, and I always have to play with the Preferences to get it right.

      Mostly evident with Makefile, which requires tabs.

      Also, for C++ files the settings are in a different place, so I have to find which one to change according to context.

      If auto-detection is too hard, please at least make it easier to control in the status bar like in VS Code.

      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:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes