Doc: Describe turning on and off QML Language Server for a project

Task-number: QTCREATORBUG-31510
Change-Id: I08f109849b345d70137f55482f0cc654f102caa2
Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
This commit is contained in:
Leena Miettinen
2024-10-23 17:00:06 +02:00
parent 1734eb7cd8
commit 008e1570d1
3 changed files with 32 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@@ -81,12 +81,12 @@
the project:
\list
\li \l{Specify clangd settings}{Clangd}
\li \l{Specify Clang tools settings}{Clang Tools}
\li \l{Specify clangd settings}{Clangd}
\li \l{Override CMake settings for a project}{CMake}
\li \l{Specify code style}{Code Style}
\li \l{Turn suggestions on or off for a project}{Copilot}
\li \l{Configure C++ code model}{C++ Code Model}
\li \l{Specify code style}{C++ Code Style}
\li \l{Set C++ file naming preferences}{C++ File Naming}
\li \l{Specify dependencies}{Dependencies}
\li \l{Document code}{Documentation Comments}
@@ -94,6 +94,7 @@
\li \l{Specify the environment for projects}{Environment}
\li \l{Link projects with GitLab}{GitLab}
\li \l{Configure language server workspace}{Language Server}
\li \l{Turn on or off \QMLLS for a project}{Qt Quick}
\li \l{Specify settings for quick fixes}{Quick Fixes}
\li \l{Apply filters before scanning for tests}{Testing}
\li \l{Exclude files from to-do lists}{To-Do} (experimental)

View File

@@ -0,0 +1,29 @@
// Copyright (C) 2024 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
/*!
\page creator-how-to-qt-quick-settings-for-projects.html
\previouspage creator-how-tos.html
\ingroup creator-how-to-projects-configure
\ingroup creator-how-to-lsp
\title Turn on or off \QMLLS for a project
Since Qt 6.4, \QMLLS offers code completion and issues warnings for QML.
To turn on or off \QMLLS for the current project:
\list 1
\li Select \uicontrol Projects > \uicontrol {Project Settings} >
\uicontrol {Qt Quick}.
\image qtcreator-projects-settings-qt-quick.webp {Qt Quick settings for a project}
\li Clear \uicontrol {Use global settings}.
\li Clear or select \uicontrol {Turn on}.
\endlist
To view and modify the global settings, select the link in
\uicontrol {Use global settings}.
\sa {Configure \QMLLS}, {Configuring Projects}
*/