Explore Visual Studio Out-of-Process Extensibility Samples
mainThe New_Extensibility_Model/Samples directory contains various implementation examples for the Visual Studio out-of-process extensibility model. These samples cover a wide range of capabilities, from basic command handling to advanced UI integration and debugger visualizers.
Available Sample Scenarios
| Sample | Description |
|---|---|
| Simple command handler | Basics of working with commands. |
| Insert guid | Inserting text/code in the editor, configuring command activation conditions, and using resource files for localization. |
| Command parenting | Authoring commands that can be parented to different aspects of the IDE. |
| Document selector | Creating editor extensions applicable only to files matching specific path patterns. |
| Output window | Basic usage of the [Output Window API]. |
| Tool window | Creating and populating a tool window. |
| User prompt | Displaying prompts to gather simple user input. |
| Dialog | Displaying a dialog with custom UI. |
| Word count margin | Creating an editor margin extension (e.g., for displaying word counts). |
| Markdown linter | A complex extension demonstrating multiple interacting components for a specific file type. |
| Project Query | Performing various project system queries. |
| Comment remover | Consuming Visual Studio SDK services via .NET dependency injection alongside VisualStudio.Extensibility APIs. |
| RegexMatchDebugVisualizer | Using Remote UI to create a modal [Debugger Visualizer]. |
| MemoryStreamDebugVisualizer | Creating a [Debugger Visualizer] that launches in a non-modal tool window. |