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

Support more intelligent {

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Won't Do
    • Not Evaluated
    • None
    • Qt Creator 4.5.2
    • C/C++/Obj-C++ Support
    • None

    Description

       

      if (x) 
          x+=2;

      Currently, insert { after  gives:

      if (x) {}

       

      but should give:

      if (x) {
          x+=2;
      }

      That is to say the closing brace should be inserted after the following indented block.

      Attachments

        Issue Links

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

          Activity

            People

              kandeler Christian Kandeler
              scorp1us Jason Hihn
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes