When I'm commenting cvars I have a tendency to use the following format as I think it's easier to read.
UILabel *titleLabel; // The title label in the view
My current client uses doxygen and so I'm going back 开发者_Python百科and converting my comments into doxygen format, which I hoped would be as simple as
UILabel *titleLabel; /// The title label in the view
Unfortunately this results in the comment being attached to the next cvar.
Is there any way of telling doxygen that single line comments should belong to the cvar on the line they are on ?
I think you are missing a <
, try using:
UILabel *titleLabel; ///< The title label in the view
See the doxygen manual for more information.
精彩评论