Chris Sienkiewicz
Chris Sienkiewicz
### Summary of the changes - Fixes:
See https://github.com/dotnet/razor-tooling/issues/6821#issuecomment-1245653562
Today the `@model` directive is handled in a somewhat ad hoc fashion, where the user writes a value of `TModel` and the directive `string.replace`s its usage in the base class....
Today, razor tooling hosts the razor compiler in order to create design time documents. These are then injected into the Roslyn workspace via `IDynamicDocumentInfoProvider`. Because the Roslyn workspace has the...
The source generator is disabled in the IDE, meaning the first time a user performs a hot reload, the generator is 'cold' and must perform a full compilation, which can...
Today we parse the razor syntax tree differently if we're in design time or runtime mode. Specifically, we assign trailing whitespace to markup in design time, and to csharp in...
Adds APIs to convert `ISourceGenerators` to `IIncrementalGenerators` and allows the generator driver to only update a sub-set of generators via a new filter parameter. Fixes https://github.com/dotnet/roslyn/issues/74039 Fixes https://github.com/dotnet/roslyn/issues/74086
## Background and Motivation Today the generator driver only has the ability to run all generators it contains. As part of the razor cohosting work we would like the ability...