Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-26962

Wrap a component(s) into another one

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 6.0.2
    • Quick / QML Support
    • None
    • All

    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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtqmlteam Qt Qml Team User
            ratijas ivan tkachenko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes