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

Auto-indentation for anonymous enum wrong

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • Qt Creator 2.1.0
    • Qt Creator 1.3.83 (2.0.0-beta)
    • C/C++/Obj-C++ Support
    • None
    • 27578a6c2c78138d6259f88660867e50ebaac604

    Description

      How to reproduce

      enum {
          debug = false
      };
      
      • Select text, press Ctrl+I
      enum {
          debug = false
              };
      

      What I would expect is that the closing bracket is at column 0.

      Attachments

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

        Activity

          People

            ckamm Christian Kamm
            kkohne Kai Köhne
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes