forked from qt-creator/qt-creator
QmlJSEditor: add qml snippets to qmlls provided completions
Fixes: QTCREATORBUG-31322 Change-Id: I46cc57c621d04a8d05438778a65e6e2c50498355 Reviewed-by: Sami Shalayel <sami.shalayel@qt.io> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
#include "qmllsclient.h"
|
||||
|
||||
#include "qmljseditorconstants.h"
|
||||
#include "qmljseditortr.h"
|
||||
|
||||
#include <languageclient/languageclientinterface.h>
|
||||
@@ -66,6 +67,7 @@ QmllsClient *QmllsClient::clientForQmlls(const FilePath &qmlls)
|
||||
QmllsClient::QmllsClient(StdIOClientInterface *interface)
|
||||
: Client(interface)
|
||||
{
|
||||
setSnippetsGroup(QmlJSEditor::Constants::QML_SNIPPETS_GROUP_ID);
|
||||
}
|
||||
|
||||
QmllsClient::~QmllsClient()
|
||||
|
Reference in New Issue
Block a user