Visual Studio 2008 formats asp tags to lowercase

后端 未结 4 553
一整个雨季
一整个雨季 2020-12-21 10:35

Recently, my Visual Studio 2008(with Resharper 4.5) has started to reformat asp tags into lowercase.

Example:



        
4条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-21 11:06

    Go to Tools | Options...

    Expand: Text Editor - HTML

    Select the "Format" node, and see what settings you have for "Capitalization" of "Server tag" and "Server attributes - I think the default is now "Lowercase" - try setting that to "Assmebly definition" instead.

    More information on these options can be found here:

    Format, HTML, Text Editor, Options Dialog Box

提交回复
热议问题