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

QML code snippets auto-complete two fields at the same time

XMLWordPrintable

    • e32cf192f7ba34dda96b61507b440c6a17b51a0c

      Add a QML snippet such as

      PropertyAction with targets
      

      which will expand to this:

       PropertyAction { target: name; property: "name"; value: value }
      

      Now, when the caret is in target: name, and the user edits "name", also the property field's value changes.

      Other such snippets include, but may not be limited to:
      states, transitions, State, Transition and NumberAnimation. For all animation snippets, both "with target" and "with targets" snippets have this broken autocompletion of the second field.

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

            leamelo Leandro T. C. Melo
            holmsted Lasse Holmstedt
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes