Komentarze w dokumentacji
Aby ustawić globalne preferencje dotyczące komentarzy dokumentacyjnych, wybierz opcję „ Preferences ” > „ Text Editor ” > „ Documentation Comments ”.

Aby zastąpić ustawienia globalne dla konkretnego projektu, zobacz sekcję „Dokumentowanie kodu”.
W poniższej tabeli opisano ustawienia, które można skonfigurować.
| Ustawienie | Opis |
|---|---|
| Enable Doxygen blocks | Automatycznie twórz komentarz Doxygen po naciśnięciu klawisza Enter po wpisaniu /**, /*!, //! lub ///. |
| Generate brief description | Dodaj polecenie brief wraz z wstępnym opisem dla dokumentowanej deklaracji. Opcja dostępna po wybraniu opcji Enable Doxygen blocks. |
| Add leading asterisks | Dodaj gwiazdki na początku, gdy kontynuujesz komentarz dokumentacyjny w języku C, C++ lub Java (/*, /*! lub /**) w nowym wierszu. |
| Doxygen command prefix | Wybierz, czy polecenia Doxygen mają mieć przedrostek @ czy \\. Doxygen obsługuje obie opcje. Wybierz Automatic, aby używać @, jeśli otaczający komentarz zaczyna się od /** lub ///, oraz \\, jeśli zaczyna się od /*! lub //!. |
Zobacz także Kod dokumentu oraz Jak: Konfigurować edytory.
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.