Mark Drew (Redux)- cf_etc...

a compendium of railo, cfml, cfeclipse and technology topics

Mark Drew (Redux)- cf_etc...

Announcing codeShare!

January 31, 2007 · 18 Comments

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

Tags: webdev

18 responses so far ↓

  • 1 Kyle Hayes // Sep 22, 2008 at 4:12 PM

    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!
  • 2 Mark Drew // Sep 22, 2008 at 4:12 PM

    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
  • 3 Ryan Everhart // Sep 22, 2008 at 4:12 PM

    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
  • 4 Lola LB // Sep 22, 2008 at 4:12 PM

    Umm . . . this goes into the plugins directory, right?
  • 5 Ryan // Sep 22, 2008 at 4:12 PM

    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
  • 6 Mark Drew // Sep 22, 2008 at 4:12 PM

    yep

    As simple as that... bit retro I know... but we didnt have a lot of time to make it into an update site
  • 7 dave // Sep 22, 2008 at 4:12 PM

    is that mac too... before i bother trying?
  • 8 Justice // Sep 22, 2008 at 4:12 PM

    Now you need to flag code as private or public, and make a simple search through public snippets.
  • 9 Mark Drew // Sep 22, 2008 at 4:12 PM

    @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.
  • 10 dave // Sep 22, 2008 at 4:12 PM

    ahhh beauty!!... excellent work man and cheers for the fast response
  • 11 Scott Stroz // Sep 22, 2008 at 4:12 PM

    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.
  • 12 Ryan // Sep 22, 2008 at 4:12 PM

    Scott,
    I'm no Eclipse expert, but can you try restarting eclipse cleanly? Maybe that will reset somethings.

    eclipse -clean

    Ryan
  • 13 Scott Stroz // Sep 22, 2008 at 4:12 PM

    Ryan - I tried that. Still no luck.
  • 14 Josen Ruiseco // Sep 22, 2008 at 4:12 PM

    I get the error as well. Cannot use until we can get the username and password loaded in.
  • 15 Ryan Everhart // Sep 22, 2008 at 4:12 PM

    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
  • 16 Scott Stroz // Sep 22, 2008 at 4:12 PM

    Tha explains it...I am using Eclipse 3.1 (For Flex Builder)
  • 17 Ryan Everhart // Sep 22, 2008 at 4:12 PM

    I'll let Mark address that issue. Like I said, not an Eclipse expert. :)

    Thanks for the feedback guys!

    Ryan
  • 18 Man Nillson // Sep 22, 2008 at 4:14 PM

    yep!!!
    excellent work man and cheers for the fast response

Leave a Comment