title: Disable Visual Studio code formatting in Razor
body: <p>This has been asked before: <a href="https://stackoverflow.com/questions/6902204/why-doesnt-visual-studio-code-formatting-work-properly-for-razor-markup">Why doesn&#39;t Visual Studio code formatting work properly for Razor markup?</a></p>
  <p>But that question is a couple years old.  And Razor formatting is <em>still</em> completely unacceptable. I have given up on fixing it.</p>
  <p>Can I disable ALL Visual Studio formatting for CSHTML files? If not, can I disable all Visual Studio formatting entirely? Any 3rd party hacks I can use? There's got to be something!</p>
  <p>I've upgraded to 2013 and the formatting is just as bad.</p>
  <p>[EDIT]: 2015 is god-awful as well. I REALLY wish they would fix this.</p>
  <p>[EDIT]: 2017 is god-awful as well. I REALLY wish they would fix this.</p>
  <p>[EDIT]: 2019 is god-awful as well. I REALLY wish they would fix this. That said, Microsoft released a new <a href="https://devblogs.microsoft.com/aspnet/new-experimental-razor-editor-for-visual-studio/" rel="nofollow noreferrer">formatting engine</a> for .Net Core only.</p>
  <p>[EDIT]: 2022 is... Well you know. If they ignore this 12 more years I may retire before seeing it fixed!</p>