I use this for the @TODO tag and it works. Here is an example:
x.cookie = x.cookie || {}; x.cookie.set = function(name, value) { };
You can add the first @TODO to the default template:
{! var todos = data.comment.getTag("TODO"); !} <if test="todos.length"> <table class="summaryTable" cellspacing="0" summary="A summary of the TODOs documented in the class {+data.alias+}."> <caption>TODO Summary</caption> <thead> <tr> <th scope="col"></th> <th scope="col">ToDo Description</th> </tr> </thead> <tbody> <for each="todo" in="todos"> <tr> <td class="attributes"> </td> <td class="nameDescription"> {+todo+} </td> </tr> </for> </tbody> </table> </if>
and the second for each method:
<if test="member.comment.getTag('TODO')[0]"> todo: {+ member.comment.getTag("TODO")[0] +} </if>
source share