I love Visual Studio's ability to auto format (CTRL + K,D). However, in HTML if you have something like:
<h1><%# Eval("SomeField") %></h1>
It gets formatted this way:
<h1>
<%# Eval("SomeField") %></h1>
I'm fairly certain that the line break after the <h1>
tag is caused by Visual Studio's formatting rules for embedded code blocks. However I don't know where to edit those settings. All of the other rules are under Tools > Options > Text Editor.
Does anyone have any ideas?
Many thanks!