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

"Move definition to..." inserts curly brace strictly on same line as the function name

    XMLWordPrintable

Details

    • 1738ff64a6b8efa571567a9ed58716b895a931b3

    Description

      Original:

      struct Foo
      {
          int foo()
          {
          }
      };
      

      After applying the quick fix:

      struct Foo
      {
          int foo();
      };
      
      int Foo::foo() {
      }
      

      Attachments

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

        Activity

          People

            kosjar Nikolai Kosjar
            kosjar Nikolai Kosjar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes