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

When the code indentation settings for Qt Quick are set to be using tabs only instead of spaces or mixed then dragging a control onto a form will cause the new code not to be indented correctly

    XMLWordPrintable

Details

    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

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

          Activity

            People

              davschul David Schulz
              andysh Andy Shaw
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes