|
#1
|
|||
|
|||
Apparently Visual Studio (or maybe some add-in, since I don't see that w/ VS 2003, 2008 or 2010?) includes HTML when copying to the clipboard. A couple options:
1) Instead of using Ctrl+V, use Edit | Paste Special | Paste Text (or Paste Rich Text). You can also assign keyboard shortcuts for these commands (Ctrl+Shift+P is the default for paste text) at Tools | Customize | Keyboard. 2) Check Tools | Options | Import | Prefer text/rich text clipboard formats (also at Tools | Quick Options) to always prefer text/rich text over HTML format when pasting, but note that this could also affect pasting from other apps (for instance, pasting from IE will use RTF format instead of HTML). |
#2
|
|||
|
|||
Quote:
The extension "Productivity Power Tools" (VS2010) by default changes the format of copied code to html. I turned that option off and now it is working fine. The 'Paste Rich Text' option also works great. The 'Prefer rich text' option isn't so great because of what it does to web clippings, but you mention that. For what I do just turning off the power tools option did the trick. Thank you for the help! Mark. Last edited by Nobodo; 08-24-2011 at 12:08 PM. |
|
|