Details
-
Bug
-
Resolution: Invalid
-
P3: Somewhat important
-
None
-
Qt Creator 4.12.0-beta1
-
None
Description
Multiline strings are getting indented automatically EVEN IF auto-indent is on. This is because in multiline strings the spaces before the strings are considered to be a part of the data. Like if QString is defined as
QString raw_str= R"Vv.Vv(test firstLine Second line )Vv.Vv";
Auto-indenting this block will remove the spaces added before Second line.
There are other issues also, like passing arguments to a method in multiple lines.
I am attaching various snapshots for the issues.