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

Indentation of braces on top level not configurable

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • P4: Low
    • Qt Creator 2.1.0
    • None
    • Editors
    • None
    • Linux RedHat4 based

    Description

      When using the following code style (setting indentation style to "include braces"), the braces of top-level blocks are not indented:

      void foo()
      {
          if ($test == 1) 
              {
              &test;
              }
      }
      

      This should be fixed or introduced as an option.

      Note that this is correct behavior in the GNU style, which shouldn't be changed.

      Attachments

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

        Activity

          People

            lindeije Thorbjørn Lindeijer (closed Nokia identity) (Inactive)
            teeharju Teemu S. Harju
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes