Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
Qt Creator 4.12.4
Description
When the code indentation settings for Qt Quick are set to be using spaces instead of tabs then dragging a control onto a form will cause the new code not to be indented correctly. To reproduce, set the settings for the Qt Quick Code Editor to be tabs only via Tools - Options - Qt Quick - Code Style and then create a new project such as Qt Quick (Stack) so you have a form. Then in the text editor while the form is being designed, select all and click on Auto-indent Selection to make sure that it is set to use the correct indentation for the existing code. Then drag any control onto the form and the code editor will indent the new code incorrectly as it is using spaces for the new code and not the chosen style.
Attachments
Issue Links
- relates to
-
QTCREATORBUG-24532 [REG] Extract Function and Generate Getter/Setter does not respect tab settings
- Closed