Fix indention in Visual Studio when pasting from eBook

Posted by Kory on Stack Overflow See other posts from Stack Overflow or by Kory
Published on 2010-05-14T04:02:52Z Indexed on 2010/05/14 4:04 UTC
Read the original article Hit count: 153

Filed under:

Hi All,

Every time I paste code from an Adobe reader eBook into Visual Studio it ends up looking like the image below. The only way I know to fix it is to go on each and every line and manually tab/backspace it all back in order. Source formatting does nothing (Edit>Advanced>Format Document)

Anyone know how to fix the indention in this scenario?

Thanks

I guess I cant post images yet.. image below

https://dl.dropbox.com/u/416645/ugly.jpg

© Stack Overflow or respective owner

Related posts about visual-studio-2010