Improve building of the Qml/JS scope chain.
* For JS files: Add each Qml component that sources the file in a Script tag to the scope chain. * For Qml components: Add each component that instantiates the component to the scope chain. * Generate the full list of documents required for completion in a given file. Previously, files that included the file were missing.
Showing
- src/libs/qmljs/qmljsbind.cpp 15 additions, 2 deletionssrc/libs/qmljs/qmljsbind.cpp
- src/libs/qmljs/qmljsbind.h 2 additions, 0 deletionssrc/libs/qmljs/qmljsbind.h
- src/libs/qmljs/qmljslink.cpp 114 additions, 39 deletionssrc/libs/qmljs/qmljslink.cpp
- src/libs/qmljs/qmljslink.h 3 additions, 0 deletionssrc/libs/qmljs/qmljslink.h
Loading
Please register or sign in to comment