Priority: Not Evaluated
Affects Version/s: Qt Creator 4.8.0-beta1, Qt Creator 4.8.0-beta2
Fix Version/s: Qt Creator 4.9.0-beta1
Component/s: Quick / QML Support
Steps to reproduce:
- open QC, create a Qt Quick Application from template (Empty)
- place cursor before the closing curly brace of the root element + hit Enter to get some empty lines
- place cursor into one of the empty lines
- create a Text element
- inside the Text element use an anchors.centerIn property and assign it to parent
This usually worked by just typing par as value and hitting Enter.
Now this inserts parentChanged() instead and the cursor is located inside the braces.
Note: This is mainly caused by 24543f783906ff21a1f1d01c69d9fe79e71b2726 and a different order scheme (for the proposals) that is used inside the QmlJS code model.
The order for the proposals need to get adjusted to prioritize shorter proposals over longer ones.