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