I just discovered dotnet-format
, but as far as I understand it's a command line tool that has to be called manually. How can I apply dotnet-format
on saving a file in Visual Studio 2019? (not Visual Studio Code!)
Apply dotnet-format on save in Visual Studio?
4.6k Views Asked by me.at.coding At
3
Although this is not what the question was about, I have dotnet-format setup to run as a pre-commit hook.
For the on-save formatting and other gimmicks, I use CodeMaid. https://marketplace.visualstudio.com/items?itemName=SteveCadwallader.CodeMaid