summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLeena Miettinen <riitta-leena.miettinen@qt.io>2022-02-08 14:01:21 +0100
committerLeena Miettinen <riitta-leena.miettinen@qt.io>2022-02-08 13:21:41 +0000
commit68592ad59e4adeee6f56c1e95fb3cf9e13fc0b33 (patch)
tree2e5531c6dc62b95b9b25c7a286c0ef992f90beb4 /doc
parent3926e708a9474d53848ef64ce7d71656a48bc558 (diff)
downloadqt-creator-68592ad59e4adeee6f56c1e95fb3cf9e13fc0b33.tar.gz
Doc: Update info on clangd, which is now used by default
Update the text and screenshot. Task-number: QTCREATORBUG-26610 Change-Id: Ie35f3b6885df49029ac0dbc54677e9e6f472d2c4 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'doc')
-rw-r--r--doc/qtcreator/images/qtcreator-options-clangd.pngbin6895 -> 6133 bytes
-rw-r--r--doc/qtcreator/src/editors/creator-only/creator-clang-codemodel.qdoc11
2 files changed, 4 insertions, 7 deletions
diff --git a/doc/qtcreator/images/qtcreator-options-clangd.png b/doc/qtcreator/images/qtcreator-options-clangd.png
index a277d076c9..ef955f4563 100644
--- a/doc/qtcreator/images/qtcreator-options-clangd.png
+++ b/doc/qtcreator/images/qtcreator-options-clangd.png
Binary files differ
diff --git a/doc/qtcreator/src/editors/creator-only/creator-clang-codemodel.qdoc b/doc/qtcreator/src/editors/creator-only/creator-clang-codemodel.qdoc
index 377f50394f..3211d7d950 100644
--- a/doc/qtcreator/src/editors/creator-only/creator-clang-codemodel.qdoc
+++ b/doc/qtcreator/src/editors/creator-only/creator-clang-codemodel.qdoc
@@ -149,11 +149,9 @@
\section1 Configuring clangd
- You can use the experimental clangd support instead of libclang to receive
- exact and complete results for services such as finding references,
- following symbols under cursor, and using the locator, even for complex
- constructs that the built-in code model cannot handle correctly. These
- improvements are based on clangd's \e index. When you \l{Opening Projects}
+ The clangd \e index provides exact and complete results for services such
+ as finding references, following symbols under cursor, and using the
+ locator, even for complex constructs. When you \l{Opening Projects}
{open a project}, clangd scans the source files to generate the index. For
large projects, this can take a while, but the index is persistent and
re-scanning is incremental, so nothing is lost by closing and re-starting
@@ -171,8 +169,7 @@
{Outline} view is backed by clangd's document symbol support, which
makes the results more reliable than before.
- To use clangd for the current project instead of the built-in code model or
- Clang:
+ To specify settings for clangd:
\list 1
\li Select \uicontrol Tools > \uicontrol Options > \uicontrol C++ >