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

[clang-format] cannot insert space at end of line

    XMLWordPrintable

Details

    • c9dc54802c (qt-creator/qt-creator/master) c9dc54802c (qt-creator/qt-creator/9.0)

    Description

      using a current master build of qt-creator, i'm seeing one issue:

      consider the code:

      foo();

      if the text cursor is at the end of the line and i press the space key, the space is not inserted. probably the clang-format plugin will re-run formatting and remove the inserted whitespace.

      there seems to be a new option (format while typing), but that does not seem to be related. if i disable the clang-format plugin completely, the bug disappears

      Attachments

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

        Activity

          People

            artem.sokolovskii Artem Sokolovskii
            timblechmann tim blechmann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes