Introduction
This is the official home for Visual Studio Extensibility online resources on Code Gallery. Here, you will find extra samples that do not ship with the Visual Studio SDK, deep dive documentation, links to shared source projects and other resources to help you extend Visual Studio. This page is maintained by the VSX team at Microsoft. You should already have downloaded and installed the Visual Studio SDK before using many of the resources on this page. For the Visual Studio Extensibility Developer Center on MSDN and the VS SDK download, please visit http://msdn.com/vsx/. All Visual Studio Extensibility related resources on Code Gallery are tagged with the “vsx” tag. You may subscribe to the VSX RSS feed to be notified of new VSX resources on Code Gallery.
Code Samples
IDE Samples
| Name | Description | Language |
| AllowParams | Illustrates how to use the ParametersDescription property to allow for passing arguments with a command, through the Command Window. | C# |
| MyErrorsPackage | Demonstrates how to use an ErrorListProvider to participate in Error List tool window. | C# |
| TBEdit | Demonstrates how to implement a custom editor that hosts multiple logical views on a TabControl. | C# |
| Match Options Commands Addin | Simple addin that adds toggle buttons for various Find options. | C# |
| VSPackage in F# | Demonstrates how to write a VSPackage in F#. | C# |
Domain-specific Language Samples
| Name | Description | Language |
| Text-templating | Illustrates various approaches to generating code using the text –templating (T4) engine that ships with the Visual Studio SDK. | C# |
| End-to-end Wizard UIP | An updated version of the C# End-end.WizardUIP sample that ships with the VS SDK. | C# |
Sample Deep Dive Documentation
Each sample deep dive document contains in-depth information that explains and walks the reader through a particular code sample. The samples themselves are found in either the Visual Studio SDK or on CodePlex.
| Name | Sample Code Location | Language |
| Package Reference Sample Deep Dive | Visual Studio SDK | VB, C# |
| Menus and Commands Reference Sample Deep Dive | Visual Studio SDK | VB, C# |
| Services Reference Sample Deep Dive | Visual Studio SDK | VB, C# |
| Tool Window Reference Sample Deep Dive | Visual Studio SDK | VB, C# |
| Options Page Sample Deep Dive | Visual Studio SDK | VB, C# |
| Single File Generator Sample Deep Dive | Visual Studio SDK | VB, C# |
| Editor with Toolbox Sample Deep Dive | Visual Studio SDK | VB, C# |
| Single View Editor Sample Deep Dive | Visual Studio SDK | VB, C# |
| Regular Expression Language Service Sample Deep Dive | Visual Studio SDK | VB, C# |
| Visual Studio IronPython Sample Deep Dive | Visual Studio SDK, CodePlex | VB, C# |
| Storyboard Designer Sample Deep Dive | CodePlex | VB, C# |
Other Online Resources
- Koders - online code search engine that has indexed all the sample code in Visual Studio 2005 SDK 4.0. Select MSVSSDK license under the "All licenses" dropdown list to search only VS SDK sample code.
- Visual Studio Gallery - the one-stop location for you to download or publish Visual Studio extensions. Hundreds of extensions are already available today.
- VSX Team Blog - get regular updates directly from the team who works on the Visual Studio extensibility platform and SDK.
|