Tip #59: Did you know…How you can automatically format unformatted HTML on paste in VS?

Posted: Apr 29, 2009  6 comments  

Average Rating

Tags
Automatic
Editor
Formatting
HTML
Options
Paste
Ranjini Mathrubootham

Do you copy/ paste a lot of unformatted HTML content in to your web forms? Do you always format HTML after pasting such content? There is an easy way to automatically format HTML on paste in VS. Here is how you do it.

In Tools->Options dialog, go to Text Editor->HTML->Miscellaneous page. Check ‘Format HTML on paste’ option.

FormatHTMLonPaste

After checking this option on, whenever you paste unformatted HTML, it gets formatted automatically.

Ranjini Mathrubootham

SDET, Visual Web Developer

View the original post

Submit a Comment

  • Plain text is accepted.
  • URLs starting with http:// are converted to links.