[ 
https://issues.apache.org/jira/browse/VELOCITY-695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12673739#action_12673739
 ] 

Jarkko Viinamäki commented on VELOCITY-695:
-------------------------------------------

Urgh. -1 for this one. I don't see why anyone would want to write templates 
like that. 

Just put the parameter description before the macro definition in comments 
JavaDoc style.

> Add comments for directive parameters
> -------------------------------------
>
>                 Key: VELOCITY-695
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-695
>             Project: Velocity
>          Issue Type: New Feature
>          Components: Engine
>    Affects Versions: 2.0
>            Reporter: Byron Foster
>
> Add comments for Macro definitions so this type of thing is possible:
> #macro(foo        ## This is a comment about foo
>                $bar     ## This is the bar parameter
>                             ## It has man uses
>                $bar2  ## Another param
>               ) 
> #end

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to