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

Auto indent of comment

XMLWordPrintable

    • Linux/X11

      After I updated to Qt Creator 10.0.0 the auto indent of comments (/* ... {}/){} does not work correctly anymore. If I insert an opening comment (/) it is correctly aligned with the beginning of the next line, but if I add the closing comment (*/) after the line it is placed at the beginning of the line.

      i.e.

         /*
         QSting string = "Hello world!"
      */

      This is pretty disturbing for the workflow during coding. I'm using FakeVim. In all earlier versions of Qt Creator, the closing comment was always aligned with the beginning of the previous line.

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

            artem.sokolovskii Artem Sokolovskii (Inactive)
            bumblebee Damian Hischier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes