Search Wiki:

Introduction

This is the official home for Visual Studio Extensibility online resources on Code Gallery. Here, you will find samples, 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.

Visual Studio 2010 Beta 1 Samples

Name Description Language
ToDoGlyphFactory This sample adds a glyph in the glyph margin on every line that contains a comment with the word “todo” in it. The sample demonstrates how to create a custom glyph factory that uses a tagger. C#
Diff Classifier This is a sample Visual Studio 2010 Classifier that provides syntax highlighting for standard diff/patch files. C#
Hyperlink Extension This is a sample Visual Studio 2010 extension that provides syntax-highlighting for hyperlinks as well as the ability to ctrl-click on the link. C#
Caret Fish Eye This is a sample extension to the Visual Studio 2010 Editor that visually shrinks lines that are farther away from the caret. C#
Highlight Word This is a sample extension to the Visual Studio 2010 Editor that uses tagging and adornments to highlight all occurrences of the word currently under the caret. C#
DemoDashboard Extension that leverages the new managed WPF-based editor by offering different WPF-based gadgets and uses the Twitter service to allow for real-time interactions between a speaker and the audience. C#
RegExEditor Write and Test your regular expressions right within the editor C#
ImageInsertion Images and text nicely playing side-by-side in the new editor C#
IntellisensePresenter Create your own UI for displaying the IntelliSense C#
Reference.Services.C# This sample demonstrates how to create and consume services from a VSPackage. C#
Reference.Services.VB This sample demonstrates how to create and consume services from a VSPackage. VB
Reference.Services.C++ This sample demonstrates how to create and consume services from a VSPackage. C++
DSL Tools All Visual Studio 2010 DSL Samples. C#

Visual Studio 2010 Walkthroughs

Editor Extension Hands On Lab - This lab takes you through the end to end scenario of creating and editor extension, by building an extension that displays walkthrough content from an XML file directly in the editor as green boxes.

Visual Studio 2010 Beta 1 UI Guidelines

Visual Studio 2010 UI Guidelines - Guidelines for creating UI for Visual Studio extensions.

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
Combobox Reference Deep Dive Visual Studio SDK VB, C#
Language Service in a Dialog Sample Deep Dive Visual Studio SDK VB, C#
Multi-File Editor Sample Deep Dive Visual Studio SDK VB, C#
Document Designer Editor Sample Deep Dive Visual Studio SDK VB, C#
Running Document Table Event Explorer Sample Deep Dive Visual Studio SDK VB, C#
Help Integration Sample Deep Dive Visual Studio SDK VB, C#
ManagedMyC Sample Deep Dive Visual Studio SDK C#
Debugger Expression Evaluator Sample Deep Dive Visual Studio SDK C#
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 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 C#
Storyboard Designer Sample Deep Dive CodePlex 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.

Last edited Jun 18 at 11:23 PM  by vsxcg, version 47
Updating...
Page view tracker