How to auto format HTML (.cshtml) documents on save (VS2022)
I rely on clean-up profile with the “run on save” checked to ensure my code is formatted on save:
I rely on clean-up profile with the “run on save” checked to ensure my code is formatted on save: