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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.