Documentation Comments
To set global preferences for documentation comments, select Preferences > Text Editor > Documentation Comments.

To override the global preferences for a particular project, see Document code.
The following table describes the preferences you can set.
| Preference | Description |
|---|---|
| Enable Doxygen blocks | Automatically create a Doxygen comment when you press Enter after typing /**, /*!, //!, or ///. |
| Generate brief description | Add a brief command with an initial description for the documented declaration. Available when Enable Doxygen blocks is selected. |
| Add leading asterisks | Add leading asterisks when you continue a C, C++, or Java documentation comment (/*, /*!, or /**) on a new line. |
| Doxygen command prefix | Select whether to prefix Doxygen commands with @ or \\. Doxygen allows both. Select Automatic to use @ if the surrounding comment starts with /** or ///, and \\ if it starts with /*! or //!. |
See also Document code and How to: Configure editors.
Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.