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:
David Schulz
2024-08-20 10:50:14 +02:00
parent ff396f4fc5
commit aa7ff1a5f2

View File

@@ -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()