diff --git a/dist/changelog/changes-14.0.0.md b/dist/changelog/changes-14.0.0.md index 560677da261..03ca70c6284 100644 --- a/dist/changelog/changes-14.0.0.md +++ b/dist/changelog/changes-14.0.0.md @@ -69,8 +69,9 @@ Editing * 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 + * Added the `Statement Macros` field in `Preferences` > `C++` > `Code Style` + for macros that the indenter interprets as complete statements that don't + require a semicolon at the end ([QTCREATORBUG-13640](https://bugreports.qt.io/browse/QTCREATORBUG-13640), [QTCREATORBUG-15069](https://bugreports.qt.io/browse/QTCREATORBUG-15069), [QTCREATORBUG-18789](https://bugreports.qt.io/browse/QTCREATORBUG-18789)) diff --git a/doc/qtcreator/images/qtcreator-code-style-built-in-indenter.webp b/doc/qtcreator/images/qtcreator-code-style-built-in-indenter.webp index f8eaa1dac52..eb85b20033f 100644 Binary files a/doc/qtcreator/images/qtcreator-code-style-built-in-indenter.webp and b/doc/qtcreator/images/qtcreator-code-style-built-in-indenter.webp differ diff --git a/doc/qtcreator/src/editors/creator-only/creator-preferences-cpp-code-style.qdoc b/doc/qtcreator/src/editors/creator-only/creator-preferences-cpp-code-style.qdoc index 56e413b7e93..024b731d3ca 100644 --- a/doc/qtcreator/src/editors/creator-only/creator-preferences-cpp-code-style.qdoc +++ b/doc/qtcreator/src/editors/creator-only/creator-preferences-cpp-code-style.qdoc @@ -54,6 +54,8 @@ \list \li Interpret the \key Tab and \key Backspace key presses. + \li Add macros that the indenter interprets as complete statements that + don't require a semicolon at the end. \li Indent the contents of classes, functions, blocks, and namespaces. \li Indent braces in classes, namespaces, enums, functions, and blocks. \li Control switch statements and their contents.