forked from qt-creator/qt-creator
QmlJS: Use mime types to distinguish qml and js files.
This allows adding patterns to the qml mime type in the options dialog. Previously they were always parsed as js. Change-Id: Ifa344fb6ab8cbcda02becef991cf6807615a1caa Reviewed-on: http://codereview.qt-project.org/4515 Reviewed-by: Leandro T. C. Melo <leandro.melo@nokia.com>
This commit is contained in:
@@ -55,6 +55,10 @@ class CppModelManagerInterface;
|
||||
}
|
||||
|
||||
namespace QmlJSTools {
|
||||
|
||||
QMLJSTOOLS_EXPORT QmlJS::Document::Language languageOfFile(const QString &fileName);
|
||||
QMLJSTOOLS_EXPORT QStringList qmlAndJsGlobPatterns();
|
||||
|
||||
namespace Internal {
|
||||
|
||||
class PluginDumper;
|
||||
|
||||
Reference in New Issue
Block a user