diff --git a/doc/qtcreator/images/qtcreator-preferences-qtquick-qmljs-editing.webp b/doc/qtcreator/images/qtcreator-preferences-qtquick-qmljs-editing.webp new file mode 100644 index 00000000000..622c80a3883 Binary files /dev/null and b/doc/qtcreator/images/qtcreator-preferences-qtquick-qmljs-editing.webp differ diff --git a/doc/qtcreator/images/qtcreator-qml-js-editing.webp b/doc/qtcreator/images/qtcreator-qml-js-editing.webp index ab9a9f48422..7e759cf2da6 100644 Binary files a/doc/qtcreator/images/qtcreator-qml-js-editing.webp and b/doc/qtcreator/images/qtcreator-qml-js-editing.webp differ diff --git a/doc/qtcreator/src/editors/creator-code-syntax.qdoc b/doc/qtcreator/src/editors/creator-code-syntax.qdoc index 791bb4fc295..87203f8bd3a 100644 --- a/doc/qtcreator/src/editors/creator-code-syntax.qdoc +++ b/doc/qtcreator/src/editors/creator-code-syntax.qdoc @@ -1,4 +1,4 @@ -// Copyright (C) 2022 The Qt Company Ltd. +// Copyright (C) 2023 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only /*! @@ -699,6 +699,19 @@ \endtable + \section1 Enabling and Disabling Messages + + To enable and disable QML and JavaScript messages, select \uicontrol Edit > + \uicontrol Preferences > \uicontrol {Qt Quick} > \uicontrol {QML/JS Editing} + > \uicontrol {Use customized static analyzer}. + + \image qtcreator-preferences-qtquick-qmljs-editing.webp {QML/JS Editing tab in Qt Quick preferences} + + In \uicontrol Enabled, select the messages that you want to see. + To disable messages for non-Qt Quick UI files, select them in + \uicontrol {Disable messages for non Qt Quick UI}. You cannot + enable messages just for non-Qt Quick UI files. + \section1 Resetting the Code Model If you change the build and run kit when you have QML files open in the code