views:

23

answers:

2

I had an idea just now and I think it's pretty good.

Select whatever code you want from your .cs/.vb file and on right click there will be an option that says 'Upload to PasteBin'.

Where would I start?

A: 

You can try this: Tutorial : Creating Visual Studio Add-Ins and Simpler Code Add-In for Visual Studio 2008

Rubens Farias
@Rubens: Can you actually create an add-on with VS Express?
tommieb75
@tommieb75 - Nope, it's one of the main differences between the paid/free editions, +1
Nick Craver
@Nick: You confirmed my answer above! :) Thanks!
tommieb75
Thanks for your info, guys; I'll keep this answer anyways, ok?
Rubens Farias
+2  A: 

Since you mentioned Visual C# Express, that is quite limited in developing IDE add-ons, for that, you need the professional edition to do this.

Hope this helps, Best regards, Tom.

tommieb75
Though for something as simple as "capture the selection and call a Web service," he might not even need an add-on: a macro might do the job (and could still be assigned to a menu). Though an add-on would I think be required if he wanted to distribute it in a convenient form.
itowlson