Open kidmar opened 2 years ago
As the the intention here is to do a code-behind file to a .razor file. The structure can be as
public class CounterBase : ComponentBase {
}
Would be awesome to generally support file names with two dots like "mypartialclass.somepart.cs" or ""mypartialclass.someotherpart.cs" to both result in
public partial class mypartialclass
{
}
Could you add support for .razor.cs files? As an example if I add the Counter.razor.cs file (to separate code from the layout of a Blazor control), it generates this template:
It should generate this instead:
Currently I don't think it is possible to add a template for this because the "double" extension does not get evaluated and it only "sees" the .cs extension.