Doc: Update info about using QML language server

You can enable it in QML/JS Editing preferences.

Task-number: QTCREATORBUG-28721
Change-Id: I64b8692fb7a69bd897364b370835ef1e2b3f79ef
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Leena Miettinen
2023-02-22 17:17:57 +01:00
parent 08ace8288a
commit 3048a14ceb

View File

@@ -149,14 +149,14 @@
\section2 QML Language Server
Qt 6.4 ships with the \c qmlls language server that offers completion and
issues warnings for QML. To set it up as a \l {Generic StdIO Language Server},
select \c {text/x-qml} and \c {application/x-qt.ui+qml} as MIME types, and
\c {<Qt Installation>/bin/qmlls} as executable.
Since Qt 6.4, the \c qmlls language server offers code completion and
issues warnings for QML. To enable QML language server support, select
\uicontrol Edit > \uicontrol Preferences > \uicontrol {Qt Quick} >
\uicontrol {QML/JS Editing} > \uicontrol {Use qmlls (EXPERIMENTAL!)}.
To use the latest version of the language server installed on your
system, select the \uicontrol {Always use latest qmlls} check box.
If the language server is used together with the \c QmlJSEditor plugin,
duplicate suggestions and warnings might be shown. To avoid this, disable
the editor plugin as described in \l {Enabling and Disabling Plugins}.
\image qtcreator-qml-js-editing.webp {QML/JS Editing preferences}
\section1 Supported Locator Filters