Smart string pasting with SmartPaster

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...

SmartPaster 2013/2015

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.

image

The cloned Solution built the first time and even contains unit tests... :)

image



Tags:

Follow the discussion

  • Oops, something didn't work.

    Getting subscription
    Subscribe to this conversation
    Unsubscribing
    Subscribing

Comments closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.