From d384f121e668698d5475d1ec1bffca359023ada5 Mon Sep 17 00:00:00 2001 From: Leena Miettinen Date: Mon, 18 Nov 2024 17:33:58 +0100 Subject: Doc: Describe checking for QMLLS updates and installing them Also describe restarting QMLLS. Task-number: VSCODEEXT-110 Change-Id: I682112791c938fe4286816df43ac0054be135cbe Reviewed-by: Orkun Tokdemir Reviewed-by: Joerg Bornemann --- doc/src/how-to/vscodeext-how-to-turn-on-qmlls.qdoc | 25 +++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/doc/src/how-to/vscodeext-how-to-turn-on-qmlls.qdoc b/doc/src/how-to/vscodeext-how-to-turn-on-qmlls.qdoc index 463f429..4d97f00 100644 --- a/doc/src/how-to/vscodeext-how-to-turn-on-qmlls.qdoc +++ b/doc/src/how-to/vscodeext-how-to-turn-on-qmlls.qdoc @@ -13,7 +13,8 @@ \title Turn on \QMLLS \l{\QMLLS} offers code completion and issues warnings for QML. \QVSC supports - \QMLLS from Qt 6.8.0, and later. + \QMLLS from Qt 6.8.0, and later. You can check for \QMLLS updates and + download the latest version. To turn on \QMLLS: @@ -24,6 +25,15 @@ \uicontrol {Run qmlls when activating an extension}. \endlist + \section1 Check for updates + + To install the latest \QMLLS version, go to \uicontrol {Command Palette}, + and then select \uicontrol {Qt: Check for \QMLLS update}. + + If \QVSC finds a newer version of \QMLLS, it offers to install it. + You can also go to \uicontrol {Command Palette}, and then select + \uicontrol {Qt: Download the most recent \QMLLS language server}. + \section1 Set \QMLLS location To use \QMLLS when you develop with an older Qt version than Qt 6.8.0, set @@ -31,8 +41,17 @@ \section1 Configure \QMLLS output - To collect trace output from \QMLLS and to show verbose output from it, - go to \uicontrol {Settings}. + To collect trace output from \QMLLS, go to \uicontrol {Settings}, and then + select an option in \uicontrol {Handle LSP trace}. + + To show verbose output from \QMLLS, go to \uicontrol {Settings}, and then + select \uicontrol {Run qmlls with --verbose option}. + + \section1 Restart \QMLLS + + To restart \QMLLS, go to \uicontrol {Command Palette}, and then select + \uicontrol {Qt: Restart \QMLLS}. + \sa {Qt settings} */ -- cgit v1.2.3