[MonoDevelop] Announcing CodeLibrary for MonoDevelop
anirudh at anirudhsanjeev.org
Fri Jul 16 16:24:46 EDT 2010
I used to have a serious problem remembering how I did certain things
with the API - (deserialization, GTK Treeviews, etc). I used to refer
to my old code, which became troublesome fast. That's why I decided to
write CodeLibrary - a snippet management system - as an AddIn for
MonoDevelop. With CodeLibrary you can quickly save some bit of code
that you're writing and share it across projects. Inspiration also
came from the Acire  and the Vala Code efforts.
Here are a couple of screenshots of CodeLibrary in action. To create a
new snippet, simply select some text in your editor, and click the
"Add" button. That will automatically get pasted in to the snippet
1. The main CodeLibrary view, which is implemented as a Pad in MonoDevelop.
2. The window to enter a new snippet:
1. If you are running a trunk build, you can put the attached .dll in
2. If you are using an installed build, you can put it in
3. If you want the source, the patch can be viewed here:
http://patchbin.com/SU0M2W It's MIT/X11 licensed and should apply
cleanly to src/
Originally, the focus was on sharing snippets. I'd imagined a fancy
webservice with REST based synchronization and couchdb based
replication of the snippet database, but that's all been torn down
into a much simpler and more sensible solution.
There's a folder "~/.config/MonoDevelop/codelibrary/community", which
can just contain a clone of a svn/git repository of snippets submitted
by community members. Right now, I hope to finalize the format first.
Lots of em
Please try it and provide feedback.
 - www.jonobacon.org/2010/01/12/acire-0-2-released/
 - http://code.valaide.org/
Senior undergraduate student, Indian Institute of Technology, Kharagpur.
More information about the Monodevelop-list