[Qt-creator] Doxygen blocks generation
Leandro T. C. Melo
leandro.melo at nokia.com
Fri Dec 9 15:10:07 CET 2011
Hi,
Qt Creator master has recently got a feature, which has been requested a
few times, for Doxygen blocks generation. If you type /** or /*! and
press enter/return before a declaration, you'll get something like:
/*!
*
* \param data
* \param options
* \return
*/
QString generate(const Data &data, const Options &options);
You can also opt whether or not you want an additional \brief command
and leading asterisks for comment continuation (when breaking lines).
The options are in Text Editor->Completion->Documentation Comments.
Notice that the style is identified from the comment beginning. If you
start it with /*! then the Qt style is used. Otherwise, the Java style
with the @ prefix for the commands is picked.
Cheers,
Leandro
--
Leandro T. C. Melo
Software Engineer
Nokia, Qt Development Frameworks
Nokia gate5 GmbH
Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany
Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443B
Umsatzsteueridentifikationsnummer: DE 812 845 193
Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori
More information about the Qt-creator
mailing list