Add method description when creating new method in Apex
Add method description (from template) when creating new method in Apex.
Comments (7)
-
repo owner -
repo owner Jiri, just thought I'd follow up on the intentions for this enhancement. Are you wanting some way to have a template header block comment that's automatically added for new methods or something? Just not sure I understand the request. Thanks!
-
reporter Hi, yes exactly ... something like javadoc so i dont have to copy it for each method... something like:
/************* * Description: createProductBudget * Create a single Pricebook * ------------------------------------------------------------------------------------------ * Date Name Modification Description * ------------------------------------------------------------------------------------------ * 27-Jul-2015 David Created
*************/or whatever is setup in template/include ...
-
repo owner Gotcha. Thanks for providing the example!
-
repo owner - removed version
I'm thinking that I'll address this one in conjunction with
#27and use a template (out-of-the-box or user-defined) for the header that gets generated. That won't come until after the deployment/retrieval enhancements slated for 1.6, though. -
This is a pretty interesting feature. I'd like it, too, but only if I could easily define my own template.
-
repo owner - changed status to resolved
The recent ApexDoc goes quite far in this request, and I already plan to formatter configuration options for the generated method header which should cover the remainder. Closing this as a duplicate of that upcoming work.
- Log in to comment
Jiri, do you mind elaborating a bit on this enhancement request? Thanks!