Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
None
-
Qt Creator 4.9.0-beta1
-
None
-
debian testing amd64, kf5, QtC 4.9b1 from the site
Description
Hi!
Tried 4.9b1 and noticed that empty lines disappears when type angle bracket (open or close one). For example,
struct S{{{}}
template<class T> void f();
template<| // when type '<' empty line above disappears
};
It is not related to templates, for example:
bool a = 1 > 2;
bool b = 2 <| // after typing '<' the empty lines above disappears
Attachments
Issue Links
- is duplicated by
-
QTCREATORBUG-22113 ClangFormat removes empty lines before statements, flacky indentation
- Closed
-
QTCREATORBUG-22099 ClangFormat plugin deletes empty lines when typing "{" or "("
- Closed