The codeShare Eclipse plug-in was developed by Mark Drew and Ryan Everhart. This plug-in allows users to select and share code with other developers. The plug-in also contains a history of most recent code shares for easy access. All this within Eclipse!
Installing the codeShare Plug-In:
1) download plug-in using link to the right 2) close eclipse 3) copy plugin into the eclipse/plugin directory 4) restart Eclipse
Note: Some users may have to restart Eclipse cleanly from a command prompt. 'eclipse -clean'
Eclipse 3.2 or higher
Come for more information: http://code.google.com/p/codeshareplugin/
Recommend the tutorial