Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.5.3, 6.8.1
-
None
-
Edision Windows 10 Enterprise
Version 22H2
OS build 19045.5247
-
-
b91ca3e0b (dev), d5b0705f4 (6.9), 69280e3eb (6.8)
Description
If there is a comment on the case line of the switch statement, qmlformat will move the colon one line down.
This seems to be a bug, since it does not occur when there are no comments on the case line.
I am using qmlformat from Qt 6.5.3.
switch (something) { case 0: //
↓
switch (something) { case 0 // :