Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

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

Example:

<asp:Repeater runat="server" id="rp">

becomes

<asp:repeater runat="server" id="rp">

and I can't find a way to make it not do this. I use Ctrl-k Ctrl-d to reformat.

I've tried resetting the Visual Studio settings, turning off Resharper. Nothing seems to bite.

I did delete a huge Reflected something folder in my Documents and Settings folder last week, could this be the reason?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
782 views
Welcome To Ask or Share your Answers For Others

1 Answer

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...