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

No way to use tabs in Qt Quick source files

    XMLWordPrintable

Details

    • b9cc73b72 (17.0), a33578453 (17.0), f354b1aa5 (17.0), 056d7c023 (17.0)

    Description

      Qt Creator replace tabs with spaces disregarding all the respective settings.

      I have tabs set in Text Editor/Behavior (Tabs Only, Auto detect disabled) and in Qt Quick/Formatter. Tried all three options there, and even though formatters behave as expected and format with tabs (context menu action "Reformat Document"), the "Auto-Indent selection" action replaces all of them with spaces, an so does saving the file.

      Blacklisting *.qml files in the Text Editor/Behaviour/Cleanups upon saving helps to a certain extent, but typing in .qml still inserts spaces left and right.

      Attachments

        Issue Links

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

          Activity

            People

              semih.yavuz Semih Yavuz
              eugeneshalygin Eugene Shalygin
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes