Smart string pasting with SmartPaster
- Posted: Jan 12, 2015 at 6:00AM
Today's Visual Studio Extension is one of those simple extensions that will save you a second here, a second there that in the end, adds up to real time savings.
I don't know about you, but I paste different strings into my apps all the time. I paste them into the code window and then start wrapping it in quotes, etc. etc. This extension will make that process that much easier and quicker...
A port of Alex Papadimoulis' Smart Paster for Visual Studio 2013 and 2015. (via SmartPaster 2010 for Visual Studio 2010 and 2012: https://smartpaster2010.codeplex.com/)
A "Paste As" right-click option that allows clipboard text to be:
- Paste as Comment
- Paste as Literal String (regular string literal)
- Paste as @String (in C#, verbatim string; in VB, CData or VB14 multi-line strings depending on version)
- Paste as StringBuilder
On Visual Studio Gallery: http://visualstudiogallery.msdn.microsoft.com/0611a238-7405-4d5f-ace0-5b3d5cf325e0
v1.1 adds Unicode, VS2015 support, both regular and verbatim strings.
The cloned Solution built the first time and even contains unit tests... :)