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

Feature Request: Option to have Cuddle '{' with function definition

    XMLWordPrintable

Details

    Description

      It would be great if there is some option to specify to have curly braces on the same line as the statement (cuddle), or on the next line. Currently, the brace is always in the next line.
      Option to have:

      function foo() {
      if (a == b) {
      ...
      } else {
      ...
      }
      }
      

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            shmittal Shveta Mittal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes