06.50 Format HTML on Paste

WINDOWS

Alt,T, O

MENU

Tools | Options Text Editor | HTML | Miscellaneous

COMMAND

Tools.Options

VERSIONS

2005, 2008, 2010

CODE

vstipEdit0092

If you find yourself copying and pasting unformatted HTML a lot, this tip is for you. Just go to Tools | Options | Text Editor | HTML | Miscellaneous, and select Format HTML On Paste.

image with no caption

From now on, when you paste it, your HTML is formatted according to the rules set up in Tools | Options | Text Editor | HTML | Formatting.

Get Coding Faster: Getting More Productive with Microsoft® Visual Studio® now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.