Announcing codeShare!

Posted At : January 31, 2007 5:00 PM | Posted By : Mark Drew
Related Categories: codeShare

Have you ever been in the position that you had some code that wouldn't do something? You wanted to show it to someone, so you cut and paste the code (bye bye formatting) and email it... great... but what if you could do this straight from your editor?

Announcing the codeShare project! This is a new website by Ryan Everhart, Robert Froehling (and Dave Shuck and Aaron Lynch on the InstantSpot integration) allows you to post a code fragment and it returns a private URL that you can share with others and comment on the code.

You might ask why I am announcing this (apart from it being a damned useful service)? Well, over the last couple of weeks I have written a plugin for this service that works straight from your IDE of choice, Eclipse!

So now codeShare also works with Eclipse, standalone and with InstantSpot!

Check out Ryan's post for more details on codeShare

Of course, you could also watch a little video I made (no sound) on how to use it.

You can get the plugin from the codeSharePlugin website

Comments (Comment Moderation is enabled. Your comment will not appear until approved.)
Kyle Hayes's Gravatar Wow! I have never even heard of this site until now. Thanks for sharing. Now that I have tested the site out and seen how cool it is, I shall check out the plugin!
# Posted By Kyle Hayes | 1/31/07 5:22 PM
Mark Drew's Gravatar Its a pretty new site, but I must say its very handy... I can post stuff up there, share it.. comment on it.. or talk through it with someone and badabing... its all done
# Posted By Mark Drew | 1/31/07 5:43 PM
Ryan Everhart's Gravatar You can also create and account which gives you the option to have never expiring code. With never exipiring code you are given links to include it in your blog or InstantSpot Blog.

Ryan
# Posted By Ryan Everhart | 1/31/07 5:49 PM
Lola LB's Gravatar Umm . . . this goes into the plugins directory, right?
# Posted By Lola LB | 1/31/07 6:12 PM
Ryan's Gravatar Lola,
That is correct, just drop that file into the plug-ins directory within your eclipse directory.

You'll have to restart eclipse to see it.

Ryan
# Posted By Ryan | 1/31/07 6:15 PM
Mark Drew's Gravatar yep

As simple as that... bit retro I know... but we didnt have a lot of time to make it into an update site
# Posted By Mark Drew | 1/31/07 6:17 PM
dave's Gravatar is that mac too... before i bother trying?
# Posted By dave | 1/31/07 6:26 PM
Justice's Gravatar Now you need to flag code as private or public, and make a simple search through public snippets.
# Posted By Justice | 1/31/07 6:28 PM
Mark Drew's Gravatar @dave: I coded it on a mac so I should damn well hope it works on a mac
@Justice: Thats not up to me to say how codeShare works, I just did the plugin. But codeshare uses a privateURL, so that its private by obfuscation and it has an expiry date on it.
# Posted By Mark Drew | 1/31/07 6:33 PM
dave's Gravatar ahhh beauty!!... excellent work man and cheers for the fast response
# Posted By dave | 1/31/07 6:37 PM
Scott Stroz's Gravatar When I try to submit a code snippet, I am getting an error that the user name, password or URL are incorrect. When I attempt to view the preferences under Window-->Preferences-->CodeShare, I get another error stating that a module could not be instantiated.
# Posted By Scott Stroz | 1/31/07 7:05 PM
Ryan's Gravatar Scott,
I'm no Eclipse expert, but can you try restarting eclipse cleanly? Maybe that will reset somethings.

eclipse -clean

Ryan
# Posted By Ryan | 1/31/07 7:08 PM
Scott Stroz's Gravatar Ryan - I tried that. Still no luck.
# Posted By Scott Stroz | 1/31/07 7:12 PM
Josen Ruiseco's Gravatar I get the error as well. Cannot use until we can get the username and password loaded in.
# Posted By Josen Ruiseco | 2/1/07 12:39 AM
Ryan Everhart's Gravatar Thats and interesting issue because it works fine with or without user name and password for me. What version of Eclipse are you guys using? I believe that you need to have 3.2.0 or higher.

Ryan
# Posted By Ryan Everhart | 2/1/07 12:49 AM
Scott Stroz's Gravatar Tha explains it...I am using Eclipse 3.1 (For Flex Builder)
# Posted By Scott Stroz | 2/1/07 12:58 AM
Ryan Everhart's Gravatar I'll let Mark address that issue. Like I said, not an Eclipse expert. :)

Thanks for the feedback guys!

Ryan
# Posted By Ryan Everhart | 2/1/07 1:04 AM