forked from qt-creator/qt-creator
Doc: Describe Preferences > C++ > Code Style > Statement Macros
Task-number: QTCREATORBUG-30604 Change-Id: I8ce44b3ed677076801d3ec96cdf33704a97f4efe Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
5
dist/changelog/changes-14.0.0.md
vendored
5
dist/changelog/changes-14.0.0.md
vendored
@@ -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))
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
@@ -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.
|
||||
|
Reference in New Issue
Block a user