aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4functionobject.cpp
diff options
context:
space:
mode:
authorSami Shalayel <sami.shalayel@qt.io>2023-05-22 17:14:57 +0200
committerSami Shalayel <sami.shalayel@qt.io>2023-05-23 10:58:30 +0200
commita7ae588cb27feb086e7574082d3ded7abc944d6b (patch)
tree18891f4fccfa79a1a530dce72d5743e26b7f955d /src/qml/jsruntime/qv4functionobject.cpp
parent087a988efe14f6b1a0a43b0eaa285bcaae74d7ec (diff)
qmlls: support find type definition for script identifiers
Add QQmlJSScope to JS identifiers in the QQmlJSScope and resolve them in the QQmlJSScope resolving step. Use them to find the type definition of script identifiers. Test the new feature. Todo for after FF: find out why only the part after the "component <name>:" is found (which should be enough for real usage) for JS identifiers. In an ideal world, it would find the "<name">" and just highlight it. Fixes: QTBUG-111410 Change-Id: Id83ec08fd4c66a9c7468e3bec19ba09f4ce8634f Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4functionobject.cpp')
0 files changed, 0 insertions, 0 deletions