Using Doxygen in Qtcreator

Source: Internet
Author: User

After touching the Doxygen, recognizing its strength, the previous rotten code was reconstructed again, and all the file headers, function comments, and so on were added manually. In the Keil, it can be seen that the comments on the Javadoc style are highlighted and very nice. But Keil this IDE as a compiler and debugging tools, easy to say, as the editor is very unable to keep up with the times. Auto-Complete, the code indentation is very bad. Find a lot of editors, such as Sublime,atom,vs code, but also lack of cross-file completion, go to Definition and other functions. The learning curve for vim and Emacs is too long. Colleagues mentioned that we could try Qt Creator, so we tried together. Found to be really feasible. There is also a surprise, it is found that QT support for Doxygen is very good.

First, a highlight of the Doxygen annotation is provided, such as:

Then, I think I have a bunch of code to refactor, do not want to add Doxygen support comments 1.1 points, I think there is no automated method. The first thing to think about is the fragment function using QT Creator.

Later, when I turned on the options, I found this

Qt creator comes with a Doxgen annotation feature. So Baidu, found that there is an automatic add Doxygen comment plug-in (http://dev.kofee.org/projects/qtcreator-doxygen/). However, the plugin is not updated after the 3.1 version, I use the 3.5 version. I thought, how could such a good plugin not be updated? So I went on searching and found this (http://wiki.qt.io/Doxygen_Plugin_for_QtCreator)

Probably mean, if there is no plug-in binary file, then you have to download the QT creator source code and plug-in source code itself compiled. How to do, I also refer to another article, http://www.devbean.net/2011/08/qtcreator-plugin-develop-2/.

Using Doxygen in Qtcreator

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.