Last post Oct 21, 2013 01:36 AM by Starain chen - MSFT
Oct 19, 2013 01:38 PM|MisterSnrub|LINK
Every time I copy and paste my HTML text it tries to auto-format the indentation of it, and it looks terrible. How do I either change the way Visual Studio formats pasted text, or remove auto-formatting of pasted text completely?
Oct 21, 2013 01:36 AM|Starain chen - MSFT|LINK
Thanks for your post!
According to your description, I suggest that you could custom the HTML Formatting, then format the section that you want.
Please follow these steps below to change the HTML Formatting:
After that, you could press Ctrl+K+D to format all HTML after parse the text, or select some text then press
Ctrl+E+F (Also can right click this then select Format section) to format one or more sections that you want.
BTW: In my opinion, the auto-formatting is the feature in VS, I don’t find any way to remove it in the VS.