[
https://issues.apache.org/jira/browse/VELOCITY-394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claude Brisson closed VELOCITY-394.
-----------------------------------
> RFE: optional record comments
> -----------------------------
>
> Key: VELOCITY-394
> URL: https://issues.apache.org/jira/browse/VELOCITY-394
> Project: Velocity
> Issue Type: Improvement
> Components: Engine
> Affects Versions: 1.5
> Environment: Operating System: All
> Platform: All
> Reporter: Jens Elkner
> Assignee: Claude Brisson
> Priority: Minor
>
> At the moment, the whole content except the terminator of a comment are
> dropped.
> This ok, for the normal server/application use, where a template is evaluated,
> but for IDEs it would be a big advantage, to have the whole comment in the
> parser tree, so that a ParserVisitor can be used, e.g. to highlight comments
> in
> an editor.
> So it would be nice, to have something like parser.recordComments(boolean
> complete), to dis/enable the recording of the complete comment, if
> encountered.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]