Smart Paster 1.1 Add-In - StringBuilder and Better C# Handling

I received some great ideas for new features and thought I'd incorporate them in a new version. Here's what's new:

  • Tab/linebreak escape choices for C#
  • Verbatim Literals (optional line spanning) for C#
  • Paste As StringBuilder (with optional AppendFormat usage)
  • Auto Formatting After Paste (optional)
  • Ability to hide Paste As options on the context menu
  • Add-In Commands for adding to custom menus and keyboard shortcuts

Context Menu:

Configuration:

Download:
SmartPaster is now maintained at Inedo: http://inedo.com/Downloads/SmartPaster.aspx

18 Comments

  • sweet! thanks for implementing our ideas so quickly!

  • Great tool, but doesn't work in vs 2005...

    Any hope to get it there?

  • I copied the dll to the addins folder (which I first had to create) but it doesnt register itself in VS2005.

    Any chance of releasing an official version with installer?

  • Hi there,
    for those who can't get the VS2005 update working, just do these extra step besides the one mentioned in the install directions.
    Well, al least for me, it worked.
    In the source files, there is a file named SmartPaster2005.AddIn. Copy this file too to the Addins directory and you are ready to go :)

  • Very nice, thanks a bunch!

  • oh yeah, this tool is awesome. in vs 2005, works like a champ! SWEET!

    -
    jen

  • This thing looks awsom help to me

  • And here I was about to make my OWN Add-In HA!

    Cheers!

  • This is a great time-saving add-in for any developer. I added in an option to allow the add-in to remember customized commented signatures into the configuration dialog along with a menu option to paste the signature in. If interested in my changes email me at my URL above (not a programmer's site but has my email address at the bottom of the page)

  • Hey there,

    Any plans on a VS2008 release?

    Cheers,

    J

  • Perfect addition to VS2005, will there be any release for VS2008?

    :)

  • Another hopeful vote for a 2008 version. Unfortunately I'm using the Express editions, or I'd do the modifications myself :( sorry and thank you!

  • And to note, for those using the express editions, if you hadn't already noticed, you can't use Add-Ins..

  • For some reason i cannot install the add-in to vs2008, is there any tip or something that i have to look for first ?

  • Hello Anthony,
    Please explain in a few words, what the problem is. I think you should only create a Directory named 'Addins' under own files\Visual Studio 2008 and copy the 'SmartPaster2008.AddIn' and the 'SmartPaster2008.dll' in this directory. VS should recognize the AddIn.

  • Line 280 in SmartPasterForm.vb should look like this:
    Me.CSLinebreakEscape.Items.AddRange(New Object() {"", """\n""", """\r\n""", "ControlChars.NewLine", "Environment.NewLine"})

    Noticed that i added the quotes.

    the same is with line 291:
    Me.CSTabEscape.Items.AddRange(New Object() {"", """\t""", "ControlChars.Tab"})

  • For those trying to get this to work in VS 2008: Besides copying the files to the add-in directory as described above, you need to edit the .addin file using a text editor and change the number in the version tags (all of them -- there are 2) from 8.0 to 9.0

  • For those trying to get this to work in VS 2008: Besides copying the files to the add-in directory as described above, you need to edit the .addin file using a text editor and change the number in the version tags (all of them -- there are 2) from 8.0 to 9.0

Comments have been disabled for this content.