diff --git a/dist/changelog/changes-14.0.0.md b/dist/changelog/changes-14.0.0.md index 8cf6fcb5eb6..560677da261 100644 --- a/dist/changelog/changes-14.0.0.md +++ b/dist/changelog/changes-14.0.0.md @@ -66,7 +66,8 @@ Editing * Fixed the handling of system headers ([QTCREATORBUG-30474](https://bugreports.qt.io/browse/QTCREATORBUG-30474)) * Built-in - * Added the option to disable the built-in indexer + * Added the `Enable indexing` option in `Preferences` > `C++` > `Code Model` + to turn off the built-in indexer ([QTCREATORBUG-29147](https://bugreports.qt.io/browse/QTCREATORBUG-29147)) * Added an option for "statement macros" that are interpreted by the indenter as complete statements that don't require a semicolon at the end diff --git a/doc/qtcreator/images/qtcreator-preferences-code-model.webp b/doc/qtcreator/images/qtcreator-preferences-code-model.webp index 9cd9458fe57..2fa62d4fb6d 100644 Binary files a/doc/qtcreator/images/qtcreator-preferences-code-model.webp and b/doc/qtcreator/images/qtcreator-preferences-code-model.webp 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 617aeaecf11..ae81bdc3abd 100644 --- a/doc/qtcreator/src/editors/creator-only/creator-clang-codemodel.qdoc +++ b/doc/qtcreator/src/editors/creator-only/creator-clang-codemodel.qdoc @@ -162,7 +162,7 @@ \title Code Model - \brief Sets global preferences for the code model. + \brief Sets global preferences for the C++ code model. The code model offers services such as code completion, syntactic and semantic highlighting, and diagnostics. @@ -189,6 +189,10 @@ \li \uicontrol {Use built-in preprocessor to show pre-processed files} \li Uses the built-in preprocessor to show the pre-processed source file in the editor. + \row + \li \uicontrol {Enable indexing} + \li Turns on the built-in indexer. Clearing this checkbox severely limits + the capabilities of the code model. \row \li \uicontrol {Do not index files greater than} \li To avoid out-of-memory crashes caused by indexing huge source files