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

Indentation of braces on top level not configurable

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes