In Visual Studio 2005, is there a way to indent correctly the tags in the aspx file (not in .cs files but really in ASPX files which contain HTML/ASP code)?
You can fix indenting using the shortcut Ctrl-K+D
Those keystrokes translate to:
For some reason, the latter seems to work better for me.
Note, these also work for other file types: C#, VB, XML etc...
Ctrl-A (select all), Ctrl-K-F has worked for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With