Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
Qt Creator 9.0.2, Qt Creator 10.0.1, Qt Creator 11.0.3
-
Ubuntu 22.04
-
b36675750 (11.0)
Description
- In a CppEditor, type "class".
- If it doesn't appear automatically, trigger code completion.
- From the list of proposals, select "class derived from QObject" and press Enter.
A class called "name" is inserted into the file. - 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.
Attachments
Issue Links
- depends on
-
QTBUG-112953 QTextDocument::contentsChange is emitted several times when iBus is on
-
- Closed
-
- is duplicated by
-
QTCREATORBUG-29543 Code snippets not work properly
-
- Closed
-