-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incremental Generator #99
Comments
Rendering is done on every full build not only on VS load.
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: