How do I stop Visual Studio 2008 from wrapping lines when formatting code

Posted by rsturim on Stack Overflow See other posts from Stack Overflow or by rsturim
Published on 2010-05-20T19:47:41Z Indexed on 2010/05/20 19:50 UTC
Read the original article Hit count: 238

I have an annoying problem with Visual Studio 2008.

When I run the "format code" command ("control+k, control+d") -- it will insert a carriage return. How do I get it to stop doing this???

For example:

<label for="shipCompanyName">Company Name:<label />

undesirably becomes

<label for="shipCompanyName">
Company Name:<label />

© Stack Overflow or respective owner

Related posts about visual-studio-2008

Related posts about visual-studio