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

[REG 6.0.2 -> 9.0.2] Renaming class from code completion doesn't work correctly

XMLWordPrintable

    • b36675750 (11.0)

      1. In a CppEditor, type "class".
      2. If it doesn't appear automatically, trigger code completion.
      3. From the list of proposals, select "class derived from QObject" and press Enter.
        A class called "name" is inserted into the file.
      4. Type a different name.

      Expected result: While you are typing, the class' ctor and dtor update accordingly. This works in Qt Creator 6.0.2.

      Actual result: Only the class' name changes while you are typing. The ctor and dtor don't change.

      Found and tested by Squish test tst_CSUP02.

        1. backtrace.txt
          144 kB
        2. backtrace2.txt
          68 kB
        3. CMakeLists.txt
          0.5 kB
        4. main.cpp
          0.1 kB
        5. rename.webm
          98 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            davschul David Schulz
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes