Doxygen - how to avoid repeating myself?
Doxygen - how to avoid repeating myself?
- Subject: Doxygen - how to avoid repeating myself?
- From: Greg Guerin <email@hidden>
- Date: Thu, 23 Jul 2009 09:16:29 -0700
Sherm Pendley wrote:
At various points in some code I'm writing, I have groups of related
methods. For doxygen, I create groups with:
/** @name GroupName */
/** @{ */
/**
Some comments about this group of methods
*/
/** @} */
Unfortunately, if I want the group name to appear in Xcode's symbols
drop-down list, I have to repeat the group name in a #pragma:
#pragma mark GroupName
Any ideas how I might avoid having to repeat myself this way?
Write an Xcode script that takes the current selection (assume it's
GroupName) and expands it into the comment template plus the pragma.
Then assign a keystroke to the script and add it to Xcode's scripting
menu.
-- GG
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden