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

Published Tuesday, May 25, 2004 12:26 PM by Alex Papadimoulis
Filed under:

Comments

Tuesday, May 25, 2004 12:30 PM by TrackBack

# Now

Tuesday, May 25, 2004 2:37 PM by TrackBack

# Smart Paster for Visual Studio .NET

Tuesday, May 25, 2004 5:58 PM by bert corderman

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

this thing is awesome!!!!. I usally always store queries in my code behind pages that are several hundred lines long. It can take me almost an entire day sometimes. Now with this tool even a query as long as this one http://weblogs.asp.net/alex_papadimoulis/archive/2004/05/25/141364.aspx will be a snap :)

Thanks
Bert
Tuesday, May 25, 2004 10:15 PM by James Geurts

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

sweet! thanks for implementing our ideas so quickly!
Wednesday, May 26, 2004 4:09 PM by TrackBack

# Greg's Cool [Insert Clever Name] of the Day

Greg's Cool [Insert Clever Name] of the Day
Wednesday, July 28, 2004 4:16 PM by Vol(o)

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

Great tool, but doesn't work in vs 2005...
Any hope to get it there?
Sunday, November 14, 2004 7:03 PM by TrackBack

# Howard's List of Ultimate Visual Studio.NET AddIns

Sunday, November 14, 2004 7:06 PM by TrackBack

# Howard's List of Ultimate Visual Studio.NET AddIns

Wednesday, May 31, 2006 1:52 AM by Evolve Develop Blog

#

Friday, June 02, 2006 5:54 AM by Tom Pester

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

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?
Saturday, June 03, 2006 1:51 PM by MicBoucinha

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

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 :)

# Now "Paste As.." in VS.NET with Smart Paster Add-In

I don't know about you guys (and gals), but I often find myself pasting large string literals (SQL queries...
Tuesday, June 27, 2006 7:28 PM by Michael Kennedy

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

Very nice, thanks a bunch!
Saturday, July 29, 2006 11:08 PM by J.Sakamoto

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

This is greate product.

I extend your product "Smart Paster 2005",to add [Paste As]-[XML Document Comment] function.

This function does:

* HTML encode

* Insert "///"(if VB, "'''")

source:

http://www.stbbs.net/~junichi/archive/smart-paster-2005-xmldoccomment-enhanced/SmartPaster2005-XMLDocComment-enhanced-src.zip

binary(installer):

http://www.stbbs.net/~junichi/archive/smart-paster-2005-xmldoccomment-enhanced/SmartPaster2005-XMLDocComment-enhanced.vsi

Tuesday, October 03, 2006 4:19 PM by estroJen

# re: Smart Paster 1.1 Add-In

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

-

jen

Monday, October 23, 2006 1:01 AM by Vikram

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

This thing looks awsom help to me

Monday, November 06, 2006 2:52 AM by dazza

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

Hi,

Just resolved an issue I had so I thought to post this to hopefully help others if need be;

I have my 'My Documents' target set to 'c:\me' and as such the installer installed the Addin to 'c:\me\Visual Studio 2005\Addins'.  However, in order to get the addin to work I had to manually move it to 'c:\Documents And Settings\<user>\My Documents\Visual Studio 2005\Addins'.

Not sure if this is an installer problem, a Visual Studio problem, or a configuration problem.  Works now though and is so time saving!!  Good work and thank you.

Monday, January 15, 2007 9:08 PM by Scott

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

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

Cheers!

# blog.RichiStudios.com &raquo; Visual Studio 2005 - Praktische Plugins

Pingback from  blog.RichiStudios.com &raquo; Visual Studio 2005 - Praktische Plugins

Tuesday, August 14, 2007 3:18 PM by Kevin S Gallagher

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

This is a great addition to VS2005, thanks for taking the time to create and share it.

Wednesday, September 12, 2007 8:58 AM by Kevin S Gallagher

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

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)

Thursday, November 01, 2007 10:07 AM by XAfOquon

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

holiday

<a href=" http://dosug.do.funpic.org ">holiday</a>

# The Usual Dosage &raquo; Blog Archive &raquo; UD&#8217;s Pick of the Top 10 Free VS.NET Add-Ins

Pingback from  The Usual Dosage  &raquo; Blog Archive   &raquo; UD&#8217;s Pick of the Top 10 Free VS.NET Add-Ins

Wednesday, November 28, 2007 11:06 PM by jakkaj

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

Hey there,

Any plans on a VS2008 release?

Cheers,

J

Monday, December 03, 2007 5:55 AM by Smarty

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

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

:)

Monday, December 17, 2007 11:44 PM by DB

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

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!

Tuesday, December 18, 2007 12:17 AM by DB

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

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

Wednesday, January 16, 2008 3:31 AM by Anthony

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

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

Thursday, January 17, 2008 2:15 PM by Manfred

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

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.

Thursday, January 31, 2008 10:44 AM by Dexter

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

Line 280 in SmartPasterForm.vb should look like this:

Me.CSLinebreakEscape.Items.AddRange(New Object() {"<none>", """\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() {"<none>", """\t""", "ControlChars.Tab"})

# ????????? &raquo; Blog Archive &raquo; Smart Paster Add-In for VS2005 or VS2008

Pingback from  ?????????  &raquo; Blog Archive   &raquo; Smart Paster Add-In for VS2005 or VS2008

Sunday, February 10, 2008 2:11 PM by Jesper's Blog

# Smart Paster Add-In for VS2008

Smart Paster Add-In for VS2008

Thursday, February 21, 2008 12:07 PM by El Bruno

# [VS2008] Paste as StringBuilder !!!

Buenas, desde hace varios años utilizo una herramienta que realmente me ahorra segundos valiosos al momento

Thursday, February 21, 2008 1:01 PM by El Bruno

# [VS2008] Paste as StringBuilder !!!

Buenas, desde hace varios años utilizo una herramienta que realmente me ahorra segundos valiosos al momento

Thursday, February 21, 2008 1:01 PM by El Bruno

# [VS2008] Paste as StringBuilder !!!

Buenas, desde hace varios años utilizo una herramienta que realmente me ahorra segundos valiosos al momento

Friday, February 22, 2008 2:56 AM by El Bruno

# [VS2008] Paste as StringBuilder !!!

Buenas, desde hace varios años utilizo una herramienta que realmente me ahorra segundos valiosos al...

# Useful add-ons (plugins) for Visual Studio 2005 - Ye Meri Life Hai!

Pingback from  Useful add-ons (plugins) for Visual Studio 2005  - Ye Meri Life Hai!

Monday, July 07, 2008 5:11 PM by Seth Juarez

# Ajax HTML Grid Control for ASP.NET MVC (Part2)

Ajax HTML Grid Control for ASP.NET MVC (Part2)

Monday, July 07, 2008 6:21 PM by SMRussell

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

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

Monday, July 07, 2008 8:10 PM by SMRussell

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

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

Thursday, July 24, 2008 12:33 PM by Francisco Lopez

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

VS 2008 INSTALL INSTRUCTIONS:

1. Copy the .addin, .dll files to your Addins directory [C:\Documents and Settings\[User]\My Documents\Visual Studio 2008\Addins]. If you do not have an Addins directory, create it.

2. Restart Visual Studio 2008.

Wednesday, August 06, 2008 11:14 AM by acor3

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

Hi people,

here you can find my packaging:

VisualStudio.NET 2008 Source + installer

www.acortech.it/SmartPaster2008 Solution%20+%20installer.zip

regards

Sunday, November 23, 2008 7:00 AM by Peter's World

# Cool Developer Tools

Cool Developer Tools

# Un petit truc pour mieux programmer selon les sp??cifications &#8212; Nicolas Roberge, observations et conseils sur la technologie

Pingback from  Un petit truc pour mieux programmer selon les sp??cifications &#8212;     Nicolas Roberge, observations et conseils sur la technologie

Monday, December 15, 2008 5:35 PM by Scott Jones

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

Wow - fantastic!

acor3 - thanks for the install.  Had a bit of trouble under Vista, with the addin/dll copied to:

C:\Users\<user>\Documents\Visual Studio 2008\Addins

I moved both files to here:

C:\Users\<user>\AppData\Roaming\Microsoft\MSEnvShared\Addins

And everything works.  This is also where GhostDoc installs its addin, so not sure what's up with the documents folder.

Saturday, December 27, 2008 9:35 PM by 青松阳光

# My favorite VS addins

1.RefactorforASP.NET

Refactor!isfreelyavailabletoallASP.NET2.0developersandoffersaco...

# Free Visual Studio 2005/2008 add-ins/plug-ins which boost your productivity - Asp.Net 3.5 - Learning Portal of Microsoft Asp.Net

Pingback from  Free Visual Studio 2005/2008 add-ins/plug-ins which boost your productivity - Asp.Net 3.5 - Learning Portal of Microsoft Asp.Net

Tuesday, February 03, 2009 5:50 PM by Visual Studio Plugins I Use « Schleichermann’s Weblog

# Visual Studio Plugins I Use &laquo; Schleichermann&#8217;s Weblog

Pingback from  Visual Studio Plugins I Use &laquo; Schleichermann&#8217;s Weblog

# Visual Studio Addins - SmartPaster and CopySourceAsHTML &laquo; Arcane Code

Pingback from  Visual Studio Addins - SmartPaster and CopySourceAsHTML &laquo; Arcane Code

# VS2008 Plugin: Smart Paster and CopySourceAsHtml &laquo; Life &amp; Technology

Pingback from  VS2008 Plugin: Smart Paster and CopySourceAsHtml &laquo; Life &amp; Technology

Friday, October 30, 2009 3:38 AM by Short Order Code #004 :: Tooling For Success – part 2

# Short Order Code #004 :: Tooling For Success &#8211; part 2

Pingback from  Short Order Code #004 :: Tooling For Success &#8211; part 2

Thursday, November 19, 2009 8:16 PM by SmartPaste for VS2008.NET | small DiGiTaL world

# SmartPaste for VS2008.NET | small DiGiTaL world

Pingback from  SmartPaste for VS2008.NET | small DiGiTaL world

Saturday, January 16, 2010 8:43 AM by 戦艦ゆにっき

# Visual Studioアドイン:SQL整形に便利なSmart Paster

一年ぶりぐらいにコーディングのお仕事をしていて、久しぶりに開発SEっぽいことをしています。開発をしていて面倒だ!!!て思ったのがSQL。 SQLを書くのにOBEJECT BROWSERを使用しています

Tuesday, April 06, 2010 3:24 AM by Coding4all

# Coding4all

Pingback from  Coding4all

# Las 5 extensiones de Visual Studio que m&aacute;s utilizamos &#8211; Consultec Blog

Pingback from  Las 5 extensiones de Visual Studio que m&aacute;s utilizamos &#8211; Consultec Blog

# ?????????? ?????????? ?? Visual Studio 2010 &laquo; Ivan Andreev&#039;s Blog

Pingback from  ?????????? ?????????? ?? Visual Studio 2010 &laquo; Ivan Andreev&#039;s Blog

Thursday, March 08, 2012 2:42 PM by Tips for programmer

# Tips for programmer

Pingback from  Tips for programmer

Wednesday, February 27, 2013 6:52 PM by Ajax HTML Grid Control for ASP.NET MVC (Part 2) | Seth Juarez

# Ajax HTML Grid Control for ASP.NET MVC (Part 2) | Seth Juarez

Pingback from  Ajax HTML Grid Control for ASP.NET MVC (Part 2) | Seth Juarez

# Smart Paster Add-In for Visual Studio 2010 - Tech Forum Network

Pingback from  Smart Paster Add-In for Visual Studio 2010 - Tech Forum Network

# Recommended add-ons/plugins for Microsoft Visual Studio [closed] | Everyday I&#039;m coding

Pingback from  Recommended add-ons/plugins for Microsoft Visual Studio [closed] | Everyday I&#039;m coding

Friday, April 26, 2013 10:13 PM by SmartPaster for Visual Studio 2008

# SmartPaster for Visual Studio 2008

Pingback from  SmartPaster  for Visual Studio 2008

Leave a Comment

(required) 
(required) 
(optional)
(required)