Sparx Systems Forum
Enterprise Architect => Suggestions and Requests => Topic started by: Thomas_Arnbjerg on November 22, 2007, 11:13:59 pm
-
It would be nice if the names of the code generation templates used in a given file were somehow available in the file - either as a summary on a file/class/operation level or "near" the generated code. I'm doing this manually now but the structure of the information is scattered all over the source code, which makes the generated code "messy". It would be nice if the framework collected the summary based on the actual generated code and wrote a well-formatted section somewhere.
Rationale:
Implementing an extensive set of code generation templates with stereotyped overrides occasionally makes it difficult to track down the template used to generate a particular code fragment.
-
Good idea.
I suspect this summary might be at the end of the file, since it appears that code generation is a single pass operation.
Or, it might be that the code would be in a separate documentation file, given that EA generates many files when building code.
Either way, it would be nice to have consolidated documentation.
David