I did not have much time to work on the KDevelop QML/JS language support last week because I had many big exams to study. Now, this is all done and I even received my results: all exams passed! Wonderful, I now have close to three months to dedicate entirely to KDE and KDevelop development.
Even if I wasn't able to implement much cool new things this week, I was able to fix several bugs. For instance, the unit tests are now more thorough and more stable (there were race conditions that made the tests fail on some computers and on the KDE build system). One interesting feature is the support for built-in QML types. These types are documented as part of the language and are not described in any QML module file. Examples of such types are
color (note that their names start with a lower-case letter).
There are still missing types, because some of them are not part of any module and not documented anywhere else. They have to be discovered. For instance, QQuickAnchorLine doesn't exist anywhere, so
anchors.verticalCenter is shown to have type <class>. I'll have to look in the C++ documentation of these classes and to build the corresponding QML types myself in order to have them working. It should not be too complicated.
I'm not yet happy with the result and I think it would be preferable to first show the module names (in alphabetical order, and without any duplicate). Then, when the user has selected a module, display its available versions. I think that this is how QtCreator handles the thing.