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

Auto indentation with ANSI style

    XMLWordPrintable

Details

    • d68e9e1a4d6b7b72a9ab0cfcfbbd3901e32594c0

    Description

      After the recent commit 5cd6ebfd (C++: Only reindent on electric characters if indent wasn't user-changed). The code indentation when you write the code in ansi style is wrong.

      Consider this simple code:

      if(foo)
      {
      }

      With the current version, when I type this code I will get:

      if(foo)
      {
      }

      The issue seems to be that the line is not indented any more when '{' is pressed.

      Attachments

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

        Activity

          People

            ckamm Christian Kamm
            maxun Laurent Desmecht
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes