[Qt-creator] JavaScript and QML (text) editor changes

erik.verbruggen at nokia.com erik.verbruggen at nokia.com
Fri Jan 15 18:10:38 CET 2010


Hello all,

As Kai Koehne recently announced, we are working on QML support in Qt Creator. Not only on the graphical side of life, but also on the bright... errr... text side. As the QML language is basically an extension of JavaScript, we decided to merge the QML text editor and the JavaScript text editor into one single editor, and work on improving support for both of them at the same time.

This means:

	The good: in the coming weeks, we will add automatic brace/quote/parenthesis/bracket insertion, completion, quick-fixing, etc. for both JavaScript and QML. And fix the indenter and the highlighter. And probably more.

	The bad: for now, especially the JavaScript editor will have some regressions. We know that, and we are working on it. Most noticable: the syntax checking will now give invalid errors.) The QML editor will have some too, the most noticable here being the completion, which does not know about standard types (like Rectangle and Text) anymore.

	The ugly: with commit 96e31c2a0fa8dbd21f30f32ad4c89bd39f4b48c3, which should trickle to gitorious Quite Soon Now, you will have to do a distclean build: libQml got renamed to libQmlJS, the QtScriptEditor plug-in is gone, and the QmlEditor plug-in got renamed to QmlJSEditor.

Cheers,
Erik.



More information about the Qt-creator-old mailing list