It took a bit longer than we’d have liked, but the VS team has finally gotten around to porting and posting the original VS SDK samples from VS 2010, over to VS 2013. Below is a listing of the samples and where they can be downloaded from.
A Visual Studio Package which provides a new tool window called "Build Progress" which displays a WPF ProgressBar indicating percentage completion of the current solution build.
This is a sample extension for Visual Studio 2013 that visually scales lines to be smaller the farther away from the caret’s current position they are. It accomplishes this using the line transformation API.
This sample allows the user to specify a set of terms to search for by specifying a set of XML files containing the term definitions. The user-configurable settings are stored in the project file. The scan can be invoked either on command or as an integrated part of the build process. When the scan is performed, a custom task provider causes hits, if any, to be shown in the task list.
A Visual Studio Package which provides a multi-instance tool window called "Red Green Blue" which hosts a toolbar with three buttons that will change the tool window’s background color and move the toolbar in the frame.
This is a sample extension for the Visual Studio 2013 editor that replaces the completion tooltip UI.
Demonstrates how to create an extension with a WPF-based Visual Designer for editing XML files with a specific schema (XSD) in coordination with the Visual Studio XML Editor.
This is a sample Visual Studio 2013 classifier for diff/patch files. It provides formatting for the various line types found in diff files using the classification API.
This is a Visual Studio 2013 sample extension that uses tagging and adornments to highlight all the occurences of the word currently under the caret.
This is a sample adornment extension showing how to host a document viewer in Editor code window. In the doc viewer you can zoom in/out, view whole/2 pages, print and find text in the doc.
This is a sample extension for the Visual Studio 2013 editor that replaces a hexadecimal color with a color swatch using intra-text adornments.
This is the example used during the Visual Studio Ecosystem Summit Presentation "Getting Linguistic: Integrating a Language into Visual Studio" by Chris Granger. It implements the following language features for the esoteric language "Ook!":
This sample shows how to create a Visual Studio package and how to add an entry into the Help About dialog.
This sample shows how to be a Visual Studio service provider and how to consume Visual Studio services.
This sample demonstrates how to build a single file generator.
This sample demonstrates how to create a source code control provider.
This is the sample code written during the Visual Studio Ecosystem Summit presentation "I Want Coloring: A scenario based look at the new editor". It provides a general purpose TodoTagger as well as classification and a glyph factory.
This sample adds a glyph in the glyph margin on all lines that have comments with the word "todo" in them. It demonstrates how to create a custom glyph factory that uses a tagger.
This is a sample editor extension for Visual Studio 2013 that uses and IVsTextViewCreationListener and an adornment to create a typing speed meter.
This sample uses smart tags and squiggles to display spelling errors in your comments inside of Visual Studio 2013. The extension provides an excellent example of how you use other services in combination with those provided in VS to add real-world functionality to the editor.
This sample demonstrates how to add custom options pages into the standard Visual Studio Options dialog. The sample adds two options pages and demonstrates how to customize the presentation and properties’ persistence.
This sample demonstrates how to create an explorer that logs Running Document Table (RDT) events. Selecting an event from the grid displays its properties in the Properties Window.
This sample demonstrates how to create a package that provides tool windows which host Windows Forms controls and WPF controls.
This sample demonstrates how to create a Visual Studio package (VSPackage) that loads custom Windows Forms controls into the Toolbox. The code defines two toolbox items: MyCustomTextBox, which is a normal Windows Forms control, and MyCustomTextBoxWithPopup, which provides a custom ToolboxItem that pops up a dialog box when the item is added.
This sample demonstrates how to create menu and command items and visualize them inside Visual Studio’s menus and toolbars.
This sample demonstrates how to create a package that provides an Editor type extended with Toolbox support.
This sample demonstrates how to create combo boxes on Visual Studio’s toolbars. Four types of combo boxes that can be created are shown in this sample.
This sample demonstrates how to extend Quick Launch and add a search provider to search outside Tools Options / Menus / Open Documents (the built-in providers).
This sample demonstrates how to create a source control provider that registers with Visual Studio and can be selected as active source control provider.
Alternatively, you can download the entire set of above samples from: