Reply To: RE: code generation

Hi,

Thank you very much!

You can specify comments for classes, fields and methods. You can specify comments for generated source code using documentation box.

If you want to set documentation for class: Right-click on class, choose Properties from context menu, switch to Documentation tab and type the documentation text for the field represented by this attribute.

If you want to set documentation for field: Right-click on class, choose Properties from context menu, switch to Attributes tab, select an attribute, click on Edit, switch to Documentation tab and type the documentation text.

If you want to set documentation for method: Right-click on class, choose Properties from context menu, switch to Operations tab, select an operation, click on Edit, switch to Documentation tab and type the documentation text for the method represented by this operation.

You can define also source code which will be included to methods in generated source code: right-click on class, choose Properties from context menu, switch to Operations tab, select an operation, click on Edit, switch to Body tab, choose programming language from Language drop down and set the source code for the body of the method.

It is not yet possible to preserve source code of methods in a target file.

Dusan Rodina - softwareideas.net 2 June 2014 9:45:22

New Comment

Comment
You can use these formatting tags: [b]bold[/b] [i]italic[/i] [u]underline[/u] [url]www.example.com[/url] [code]some code[/code] [quote]quoted text[/quote] [list]one list item per line[/list]