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

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"?>
<type name="QmlProject.Project">
<property name="sourceDirectory" type="string"/>
<property name="libraryPaths" type="string" isList="true"/>
<property name="content" type="QmlProjectItem" isList="true"/>
<type name="QmlProjectItem">
<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 name="QmlProject.QmlFiles" extends="FileFilterBaseItem">
<type name="QmlProject.JavaScriptFiles" extends="FileFilterBaseItem">
<property name="filter" type="string"/>
<type name="QmlProject.ImageFiles" extends="FileFilterBaseItem">
<property name="filter" type="string"/>
<type name="QmlProject.CssFiles" extends="FileFilterBaseItem">
<property name="filter" type="string"/>
Supports Markdown
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