krzysztofzablocki / SourceryPro-Feedback

Repository for discussing https://merowing.info/sourcery-pro/
12 stars 0 forks source link

[DOCUMENTATION] How to learn to write custom Sourcery templates? #3

Open krzysztofzablocki opened 3 years ago

krzysztofzablocki commented 3 years ago

A good way to start learning how to write your own templates is Sourcery Workshops I did.

It features step by step commits and wiki page and as a Sourcery Pro user you can jump directly to writing your templates since CLI integration is not required.

When you are writing templates for Sourcery Pro live templates workflow, you don't need to use phantom protocols or annotations since you can rely on the fact that you have user selected type informations, so your live templates can be simpler than the CLI ones.