Commit 9dae1688 authored by Kai Koehne's avatar Kai Koehne

QmlJsEditor: Fix support for .qmlproject files

Tell QmlJsEditor about the QmlProject namespace and it's content. This
enables auto-completion, and prevents the editor from underlining all
elements as errors.

Reviewed-by: Christian Kamm
parent 09807e73
<?xml version="1.0" encoding="UTF-8"?>
<module>
<type name="QmlProject.Project">
<property name="sourceDirectory" type="string"/>
<property name="libraryPaths" type="string" isList="true"/>
<property name="content" type="QmlProjectItem" isList="true"/>
</type>
<type name="QmlProjectItem">
</type>
<type name="FileFilterBaseItem" extends="QmlProjectItem">
<property name="directory" type="string"/>
<property name="recursive" type="bool"/>
<property name="paths" type="string" isList="true"/>
<property name="files" type="string" isList="true"/>
</type>
<type name="QmlProject.QmlFiles" extends="FileFilterBaseItem">
</type>
<type name="QmlProject.JavaScriptFiles" extends="FileFilterBaseItem">
<property name="filter" type="string"/>
</type>
<type name="QmlProject.ImageFiles" extends="FileFilterBaseItem">
<property name="filter" type="string"/>
</type>
<type name="QmlProject.CssFiles" extends="FileFilterBaseItem">
<property name="filter" type="string"/>
</type>
</module>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment