Koders and CodeKeep plugins for .NET
A good code example is a great help when using a new API for the first time so I was pretty exited when Koders and CodeKeep released their plugins for Visual Studio. They take two different approaches:
I like the idea behind CodeKeep as it works on code sniplets that does something useful and not a huge db of source code. CodeKeep only has a plugin in for Visual Studio .NET 2003 but versions for Visual Studio 2005 and Eclipse should be out soon.
Even though I like the idea, I quickly hit a big limitation: CodeKeep only searches by Description or Title. This is a problem as it requires you (and everyone else) to enter a
good great description. It maybe useful for organizing your own code sniplets but searching for sniplets on how to use a particular API is difficult.
Koders take the other approach; they do not search the title or description but the code. With an ever growing code base it allows you to find an example for most APIs.
The Koders Visual Studio plugin installs a menu short cut and a small search toolbar. Versions for 2003 and Eclipse are available as well.
Both solutions are useful, but I would prefer mix that allows me to:
- search by code when I know the API I have problems with. The code must have a brief description/title so I know if it applies to my context or not.
- search by title/description/category when I know the problem but not the API.
- view feedback and provide feedback. The more people that find the code useful the higher rank it will get
- work with a local and internet solution. I am sure the "private/public" concept of CodeKeep works but I doubt if my clients would be happy if I posted their code on the internet