Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
Qt Creator 4.9.0
-
None
Description
Since the 4.7 release (I think, not entirely sure when it started, but it's here for the latest few versions) the C++ code completion has a very annoying issue.
Typing this:
if () { } else {
Will propose to automatically add the closing bracket upon pressing enter. However, doing so, it will add two of them and also break indentation. You'll end up with:
if () { } else { }}
instead of the expected outcome of:
if () { } else { }
Attachments
Issue Links
- duplicates
-
QTCREATORBUG-21767 [Reg 4.7 -> 4.8] Qt Creator code completion for else block not configurable
- Closed