You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been using Scriban as my templating engine for a while, and I came across your live editor for Scriban files. I'd love to switch to your NTypewriter.SourceGenerator for some of my stuff, but I noticed that it is still dependent on ISourceGenerator.
Are there any plans to upgrade to IIncrementalGenerator? This would improve performance and the source generator to be done live instead of only at VS Load.
The text was updated successfully, but these errors were encountered:
Rendering is done on every full build not only on VS load.
NTypewriter.SourceGenerator will never be upgraded to IIncrementalGenerator, more likely a new one called NTypewriter.IncrementalSourceGenerator will be added.
Keep in mind that right now in .nt templates users have access to every type from the project. To take advantage of IIncrementalGenerator, .nt templates would have to be per single type, and somehow be able to define a predicate to filter when IIncrementalGenerator should run.
I've been using Scriban as my templating engine for a while, and I came across your live editor for Scriban files. I'd love to switch to your
NTypewriter.SourceGenerator
for some of my stuff, but I noticed that it is still dependent onISourceGenerator
.Are there any plans to upgrade to
IIncrementalGenerator
? This would improve performance and the source generator to be done live instead of only at VS Load.The text was updated successfully, but these errors were encountered: