forked from qt-creator/qt-creator
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:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user