Details
-
Type:
Bug
-
Status: Reported
-
Priority:
Not Evaluated
-
Resolution: Unresolved
-
Affects Version/s: Qt Creator 6.0.0
-
Fix Version/s: None
-
Component/s: Quick / QML Support
-
Labels:None
-
Platform/s:
Description
When i want to change code:
anchors.fill: parent
to multiline:
anchors:
Unknown macro: { ... }
I usually do it like:
anchors: { <press Enter> parent
And QtCreator produces code below:
anchors: {
<odd new line>
parent
In c++ code it will be:
list ls = {
//some old code
No new line... And this is correct.