Visual Studio 2010 Code Formatting in .CSHTML - Improper Indentation

前端 未结 1 1624
深忆病人
深忆病人 2021-02-07 11:03

Pretty simple problem to explain: In Visual Studio 2010 SP1, I\'m seeing weird indentation issues with braces when using Razor.

Here\'s how it looks:

<         


        
相关标签:
1条回答
  • 2021-02-07 11:23

    This is a known bug in the editor.

    To fix it, select Insert Spaces rather than Keep Tabs in Options, Text Editor, HTML.

    0 讨论(0)
提交回复
热议问题