Include "BatchApex" in template options for apex generate class
#3101
k-capehart
started this conversation in
Ideas
Replies: 1 comment
-
Agreed, although you can actually already do this locally: https://developer.salesforce.com/docs/platform/sfvscode-extensions/guide/byotemplate.html |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For the
apex generate class
command the template options are:ApexException | ApexUnitTest | BasicUnitTest | DefaultApexClass | InboundEmailService
.I think it would be useful to include an option for an Apex class that implements the
Database.Batchable<sObject>
interface.I believe we just need to include the template in this repository, and then add the option in the CLI.
The template would look something like this:
Is this something people think would be useful?
Beta Was this translation helpful? Give feedback.
All reactions