Community
Participate
Working Groups
I would like for comments that exist as part, field, and function headers to be included in the EDT model. This would allow for documentation and reporting based on comments in the model. This enhancement would also allow additional documentation of code generators and visualizers with the use of comment annotations
changing the severity from Normal to Enhancement to show that this is a function request (RFE), not a bug. This will ensure that it gets considered in our iteration planning.
The lexer currently has two flags that can be enabled to capture comments: returnLineComments returnBlockComments The comments will then be stored in org.eclipse.edt.compiler.core.ast.File. What might be a worthwhile approach to this enhancement would be to add another flag to the lexer that, when set, it will weave in all the comments into the AST tree after parsing, based on their offsets, instead of just adding them all to a list in File which doesn't really tell you which nodes the comments were for.