Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-100084 LSP: find usages in qml
  3. QTBUG-111414

qmlls: find usages of QML object id's and QML object properties

    XMLWordPrintable

Details

    • Technical task
    • Resolution: Fixed
    • P2: Important
    • 6.7.0 FF, 6.7, 6.x
    • QML: Tooling
    • None
    • deaa1bf54 (dev), 718d41136 (dev)

    Description

      Implement find usages ( see https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_references ) for Qml Objects

      List of stuff to implement: ( when finished and when WIP)

      • QML objects via
        • TODO: can they be hidden, or found in different files?
        • might require knowing the type of "owner", e.g. following usages of "myProp" are only usages depending on the type of myVar and myVar.myProp.myProp2.myProp "myVar.myProp.myProp2.myProp" (should be doable using the QQmlJSScope and previous bullet point)
      • QML signals
      • QML property bindings
      • QML property signals + signal handler
        • e.g., looking for a property p should also yield usages of pChanged and onPChanged

      Attachments

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

        Activity

          People

            sami.shalayel Sami Shalayel
            sami.shalayel Sami Shalayel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes