I want to auto-format (Ctrl+K , Ctrl+F) option in visual studio to follow these guidelines automatically. I tried to find options in visual studio to configure auto-formatting to follow these guidelines. But couldn't find anything. So, Is there some way to do this in visual studio or any other way will also be helpful.