Fix indention in Visual Studio when pasting from eBook
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 d开发者_C百科oes 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
This post explains the editor settings for XAML.
Cntrl-K-D is the shortcut to format the source code, I use it all the time to clean up back copy & paste.
精彩评论