asp.net - Visual studio freeze and duplicate <br /> issue -


i have web application (asp.net) , using vs2010 implementation. vs hangs up/freezes , time unfreeze have reformatted aspx code , duplicate every <br /> tag have, here snippit:

before

<b>district:</b> <asp:label runat="server" id="lblardist"></asp:label> <br /> <br /> 

after unfreeze

<b>district:</b> <asp:label runat="server" id="lblardist"></asp:label> <br /> <br /> <br /> <br /> 

this annoying because unlike other formatting issues (e.g. adding white spaces, putting multiple statements in 1 line) vs formatting tool cannot do it. have manually remove of duplicates! on verge of writing own tool/add-on fix stupid glitch in code

any thoughts or ideas why happening appreciated.

what think happening in visual studio when type in exemple <div> create automaticly </div> associate it.

so happening while visualstudio froze tried close every <br /> type matching <br />, replicating every <br /> on page.

to resolve issue try turning off autocomplete feature in visuals


Comments