Commenti di documentazione

Per impostare le preferenze globali relative ai commenti di documentazione, selezionare " Preferences " > " Text Editor " > " Documentation Comments".

Commenti sulla documentazione nelle preferenze dell'editor di testo

Per sovrascrivere le preferenze globali per un progetto specifico, consultare la sezione " Codice di documentazione".

La tabella seguente descrive le preferenze che è possibile impostare.

ImpostazioneDescrizione
Enable Doxygen blocksCrea automaticamente un commento Doxygen quando si preme Invio dopo aver digitato /**, /*!, //! o ///.
Generate brief descriptionAggiunge un comando brief con una descrizione iniziale per la dichiarazione documentata. Disponibile quando è selezionato Enable Doxygen blocks.
Add leading asterisksAggiungi asterischi iniziali quando continui un commento di documentazione in C, C++ o Java (/*, /*! o /**) su una nuova riga.
Doxygen command prefixScegliere se anteporre ai comandi Doxygen il prefisso @ o \\. Doxygen consente entrambe le opzioni. Selezionare Automatic per utilizzare @ se il commento circostante inizia con /** o ///, e \\ se inizia con /*! o //!.

Vedi anche Codice del documento e Come fare per: Configurare gli editor.

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.