Bela VanderVoort

Results 297 comments of Bela VanderVoort

I think full support for razor files would be a ton of work. The RazorTemplateEngine turns a view into a csharp file with all the HTML in strings. That doesn't...

The idea of supporting a basic version of blazor/razor is pretty motivating to me, but I haven't had a ton of extra time to devote to csharpier lately. Mondays are...

I did manage to parse a razor file, but getting to the c# code blocks requires reflection. A lot of the types needed are internal. This branch has a hacked...

I had this idea a while ago but haven't prioritized it yet. The plan was to get it implemented before 1.0, which will hopefully be coming soon.

But what if we can make it super bloody fast? It is ~22 seconds on our work main repo (13,000 files or so) without the syntax checker. If caching can...

My initial POC using last modified date - the 13,000 file repo can be formatted in 3 seconds if caching is used and no files have changed. 10x improvement!

Hey, Are you using a version prior to 0.17.0? Support for tabs was added then. Otherwise from my testing I believe tabs are working as expected. If you are on...

Oh and including the option for `preprocessorSymbolSets` will slow down formatting. It will reformat each file using those symbols. CSharpier understands how to read basic conditional compilation, the option is...

CSharpier requires .NET 6 to run which is independent from the version of .NET that a project is targeting. We have a project at work that still targets .NET 5,...

https://github.com/belav/aspnetcore/blob/main/src/ProjectTemplates/Web.ProjectTemplates/content/BlazorServerWeb-CSharp/Startup.cs has some good examples