Show HN: Stencil – Simple code templating for Go
1–7 of 7 posts
Re: Show HN: Stencil – Simple code templating for Go
#2As an aside though, I feel like we need some protocol for on-save junk. GoImports, GoFmt, Stencil, ... all are trying to implement a bunch of functionality on save.
Is there a good way to handle this? Both GoImports and Stencil implement GoFmt (I believe), what's a better way to do this?
Re: Show HN: Stencil – Simple code templating for Go
#3This is really really cool! As an aside though, I feel like we need some protocol for on-save junk. GoImports, GoFmt, Stencil, ... all are trying to implement a bunch of functionality on save. Is there a good way to handle this? Both GoImports and Stencil implement GoFmt (I believe) , what's a better way to do this?
Re: Show HN: Stencil – Simple code templating for Go
#4This is really really cool! As an aside though, I feel like we need some protocol for on-save junk. GoImports, GoFmt, Stencil, ... all are trying to implement a bunch of functionality on save. Is there a good way to handle this? Both GoImports and Stencil implement GoFmt (I believe) , what's a better way to do this?
Re: Show HN: Stencil – Simple code templating for Go
#5This is really really cool! As an aside though, I feel like we need some protocol for on-save junk. GoImports, GoFmt, Stencil, ... all are trying to implement a bunch of functionality on save. Is there a good way to handle this? Both GoImports and Stencil implement GoFmt (I believe) , what's a better way to do this?
On-save should support unix-style pipe-lining. That's the time tested pattern. I guess it depends on which editor you use.