Look for .NET Developers Journal's June 2005 issue for an article by yours truly on Extensibility in Visual Studio 2005. You can also find the accompanying source code through my weblog here. I hasten to point out that all code samples are provided as-is with no warranty. If you're interested in retrieving the SDK for VS, take a look at http://msdn.microsoft.com/vstudio/extend.