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

No way to use tabs in Qt Quick source files

    XMLWordPrintable

Details

    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

        For Gerrit Dashboard: QTCREATORBUG-32951
        # Subject Branch Project Status CR V

        Activity

          People

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

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There is 1 open Gerrit change