Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
Qt Creator 16.0.1
-
Windows 10 22H2
-
8b43044cd (17.0)
Description
Steps to reproduce
- Download the attached sample file
- In Qt Creator, select "Open File or Project..." and select the downloaded file without loading any project
- Select all the content (Ctrl+A)
- Unindent the whole file (press Shift+Tab repeatedly)
- Auto-indent the whole file (Ctrl+I)
Outcomes
Each "step" of the indentation is huge:
Observations
- Enabling or disabling "Auto detect" doesn't seem to have an effect
- If I copy the whole file's contents and paste them inline into a *.qml file, the auto-indentation becomes a lot more sensible
Attachments
Issue Links
- relates to
-
QTCREATORBUG-32851 Support auto-formatting when saving *.js files
-
- Closed
-
For Gerrit Dashboard: QTCREATORBUG-32861 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
642649,3 | TextEditor: improve tab settings auto detection | 17.0 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |