Project DescriptionA port of Alex Papadimoulis' Smart Paster Visual Studio AddIn for Visual Studio 2010 and Visual Studio 11.
A "Paste As" right-click option that allows clipboard text to be
- Paste as comments
- Paste as a string (multi-line strings are @"verbatim style")
- Paste as StringBuilder
Installation (Visual Studio 2010)
Before you unzip the download, right click and "Unblock" it.
You should copy the SmartPaster2010.dll and SmartPaster2010.AddIn files into the Visual Studio 2010 AddIns folder.
By default this is %USERPROFILE%\Documents\Visual Studio 2010\AddIns
If the AddIns folder does not exist, you can create it in Windows Explorer.
If your Visual Studio 2010 folder is on a network drive you may have security errors when using addins.
Installation (Visual Studio 2012)
Before you unzip the download, right click and "Unblock" it.
You should copy the SmartPaster2010.dll and SmartPaster2010.AddIn files into the Visual Studio 2012 AddIns folder.
By default this is %USERPROFILE%\Documents\Visual Studio 2012\AddIns
If the AddIns folder does not exist, you can create it in Windows Explorer.
If your Visual Studio 2012 folder is on a network drive you may have security errors when using addins.
Credits
This code was originally published on my blog:
http://www.martinwilley.com/blog/2010/06/06/SmartPasteIn2010.aspxThe original SmartPaster (for VS 2003/2005/2008) by Alex Papadimoulis is here:
http://weblogs.asp.net/alex_papadimoulis/archive/2004/05/25/Smart-Paster-1.1-Add-In---StringBuilder-and-Better-C_2300_-Handling.aspxThe original source code is here:
http://code.google.com/p/smartpaster/
Details
The main differences from the original:
- Ported it to C# and updated to support Vs2010 and Vs11 in v3
There is no VB support. VB support is included in v2
- There is no "Paste as Region"
- There is no configuration form (generally this isn't needed).