Hi all,
One of our developers mentioned that he would like method-level @todo tags for the
tasklist feature, instead of just class-level tagging. I implemented this feature for
him in tasklist.vm and thought I'd pass it along to see if you'd want it. If you
don't, I understand and my feelings won't be hurt :). The modification is included
below.
BTW: Thanks for the quick response on my previous e-mail! Sorry for the number of
e-mails - I'll stop bombarding you now :)
- Ken
in templates/tasklist.vm:
#foreach ($class in $docInfo.classes)
#set ($todoTags = $class.getTags("@todo"))
#if ($todoTags.size() > 0)
#foreach ($tag in $todoTags)
<tr>
<td>
<p>
$class.name:
</p>
<ul>
<li>$tag.value</li>
</ul>
</td>
</tr>
#end
#end
#foreach ($m in $class.methods)
#set ($todoTags = $m.getTags("@todo"))
#if ($todoTags.size() > 0)
#foreach ($tag in $todoTags)
<tr>
<td>
<p>
${class.name}.${m.name}():
</p>
<ul>
<li>$tag.value</li>
</ul>
</td>
</tr>
#end
#end
#end
#end
=========================================
Ken Conley ([EMAIL PROTECTED])
Palo Alto Research Center Incorporated
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>