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

Project editor settings are ignored for certain files

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • None
    • Qt Creator 15.0.0-beta1
    • Editors
    • Linux/Wayland
    • 502e1e4a7 (master)

    Description

      I have:

      • the global Editor settings set to Tabs Only and continuation to Regular Indent
      • a QMake project containing a README.md as `OTHER_FILES` entry
      • the project Editor settings set to Spaces Only and continuation to Spaces or Regular Indent (makes no difference). Indentation size is set to 2.
      • Pressed TAB in the README.md and got a TAB character instead the expected two spaces.
      • Interesting: inside the QMake .pro file, pressing TAB really inserts spaces

      So it seems the project settings are valid, but ignored for this file.

      BTW: If I change the global Editor settings to Spaces Only, it instantly insert spaces in the README.md also.

      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
              aha_1980 André Hartmann
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes