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

Renaming a symbol adds trash white space

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • Qt Creator 13.0.0
    • Qt Creator 12.0.1
    • C/C++/Obj-C++ Support
    • None
    • Ubuntu 22.04 LTS
    • Linux/X11

    Description

      Renaming a C++ symbol with "Rename Symbol Under Cursor" seems to sometimes add trash white space in the row before the renamed symbol. Obviously it should not touch any other rows.

      My project in this example diff uses 4 spaces for indentation and for some reason Qt Creator has added extra 4 spaces as can be seen:

      This happens almost always I rename symbols with the rename tool and is pretty annoying.

      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
              juzzlin Jussi Lind
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes