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

Add "indent braces" option

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P4: Low
    • None
    • Qt Creator 1.2.1
    • Editors
    • None

    Description

      Qt Creator's automatic indentation aligns the braces on a new line to the first character of the expression preceding it:

      foo()
      {
          bar();
      }
      

      It would be nice if there was an option to indent the braces as well, like the following:

      foo()
          {
          bar();
          }
      

      Attachments

        Issue Links

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

          Activity

            People

              mae mae
              sthomass Stian Sandvik Thomassen (closed Nokia identity) (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes