So I just have a beef with the way Visual Studio formats razor code. I\'ve always had some problems with visual studio and how it formats UI code, it always seems to do a re
i make an extension for formatting razor document.
Install:
1) in extensions search for "razor-formatter"
2) press CTRL + P AND then enter command below and press enter:
ext install Kookweb.razor-formatter
Link on VSCode marketplace:
https://marketplace.visualstudio.com/items?itemName=Kookweb.razor-formatter
source on github:
https://github.com/Kookweb-ir/razor-formatter
Of course this isn't best formatter, but this is only formatter for now.
this is just a simple HTML beautifier that works on razor documents. i will be happy if anybody works on it and make it perfect.