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

Special properties of Repeater are not autocompleted in QML/JS editor

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • None
    • Quick / QML Support
    • None

    Description

      The autocompletion does not complete two properties that Repeater exposes to its children: index and modelData. For example,

      Repeater {
              id: foo
              model: 20
              Rectangle {
                  objectName: index + " is me"
              }
          }
      

      should autocomplete index property when cursor is Rectangle {} object definition.

      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
            holmsted Lasse Holmstedt
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes