Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
Qt Creator 18.0 (master branch)
-
None
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
Gerrit Reviews
For Gerrit Dashboard: QTCREATORBUG-32951 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
645562,1 | wip: qmlformat: do not override tabSettings | 17.0 | qt-creator/qt-creator | Status: NEW | -2 | +1 |