开发者

Fix indention in Visual Studio when pasting from eBook

开发者 https://www.devze.com 2022-12-30 11:13 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号