Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-134753

qmlls: go to definition of C++ defined types

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Duplicate
    • Icon: P2: Important P2: Important
    • 6.10
    • 6.10
    • QML: Tooling
    • None

      Implement go to definition for C++ defined types. We only have the header name from the qmltypes file inside the qqmljsscopes, so we need a heuristic to find the actual header path from the header file name.

      One idea could be to use the paths from QQmlCodeModel::rootUrls() (if they are correctly populated) and run `find` or similar to find files with the same name. I am not sure if we need to differentiate between files with similar names, maybe we could make sure that the name of the QML component appears somewhere in the file.

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

            qtqmlteam Qt Qml Team User
            sami.shalayel Sami Shalayel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes