forked from qt-creator/qt-creator
Json: Use the javascript editor for json files.
Task-number: QTCREATORBUG-4639 Change-Id: Icd0fda434d5ca66056d784dd87240db76e8a442c Reviewed-on: http://codereview.qt-project.org/6035 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
This commit is contained in:
@@ -37,6 +37,8 @@
|
||||
#include "qmljseditorconstants.h"
|
||||
#include "qmljseditorplugin.h"
|
||||
|
||||
#include <qmljstools/qmljstoolsconstants.h>
|
||||
|
||||
#include <extensionsystem/pluginmanager.h>
|
||||
#include <extensionsystem/pluginspec.h>
|
||||
|
||||
@@ -90,8 +92,9 @@ QmlJSEditorFactory::QmlJSEditorFactory(QObject *parent)
|
||||
: Core::IEditorFactory(parent)
|
||||
{
|
||||
m_mimeTypes
|
||||
<< QLatin1String(QmlJSEditor::Constants::QML_MIMETYPE)
|
||||
<< QLatin1String(QmlJSEditor::Constants::JS_MIMETYPE)
|
||||
<< QLatin1String(QmlJSTools::Constants::QML_MIMETYPE)
|
||||
<< QLatin1String(QmlJSTools::Constants::JS_MIMETYPE)
|
||||
<< QLatin1String(QmlJSTools::Constants::JSON_MIMETYPE)
|
||||
;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user