Doc: Describe Preferences > C++ > Code Model > Enable indexing

Task-number: QTCREATORBUG-30604
Change-Id: I93e2e251f58e335c6f4491fd9e7e84e69528611e
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
Leena Miettinen
2024-06-13 16:33:36 +02:00
parent dcaa55200b
commit ad2b6eeeb3
3 changed files with 7 additions and 2 deletions

View File

@@ -66,7 +66,8 @@ Editing
* Fixed the handling of system headers * Fixed the handling of system headers
([QTCREATORBUG-30474](https://bugreports.qt.io/browse/QTCREATORBUG-30474)) ([QTCREATORBUG-30474](https://bugreports.qt.io/browse/QTCREATORBUG-30474))
* Built-in * 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)) ([QTCREATORBUG-29147](https://bugreports.qt.io/browse/QTCREATORBUG-29147))
* Added an option for "statement macros" that are interpreted by the indenter * Added an option for "statement macros" that are interpreted by the indenter
as complete statements that don't require a semicolon at the end as complete statements that don't require a semicolon at the end

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

View File

@@ -162,7 +162,7 @@
\title Code Model \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 The code model offers services such as code completion, syntactic and
semantic highlighting, and diagnostics. semantic highlighting, and diagnostics.
@@ -189,6 +189,10 @@
\li \uicontrol {Use built-in preprocessor to show pre-processed files} \li \uicontrol {Use built-in preprocessor to show pre-processed files}
\li Uses the built-in preprocessor to show the \li Uses the built-in preprocessor to show the
pre-processed source file in the editor. 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 \row
\li \uicontrol {Do not index files greater than} \li \uicontrol {Do not index files greater than}
\li To avoid out-of-memory crashes caused by indexing huge source files \li To avoid out-of-memory crashes caused by indexing huge source files