Details
-
Suggestion
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
Qt Creator 6.0.2
-
None
Description
Qt Creator needs a feature for QML, which is commonly used in HTML editors: wrap a component under cursor into another one.
If there's some text selected — the selection should be expanded to the whole components. If there's only a single cursor — just select a component under it.
Then it should indent selected component or components by one tab, wrap in
{braces}, and put the cursor before the opening brace.
Ideally it should provide some commonly used QML types for layouts as completions: Row, RowLayout, Column, ColumnLayout, GridLayout, Item, Rectangle, Repeater etc.