In Visual Studio, if I choose Edit -> Advanced -> Format Document, or in my case I just just the shortcut CTRL+E,D, Razor code blocks format incorrectly because Visual Studio doesn't have any curly brace line ending options. I set them to K&R style with ReSharper, but CTRL+E,D formats them the Visual Studio default way. What I really want is a quick shortcut to reformat the document according to my ReSharper formatting options, but without an intermediate popup dialog confirming the operation.