Samples for building your own Visual Studio extensions
Clone or download
madskristensen Merge pull request #141 from AdmiralSnyder/patch-1
Update IntraTextAdornmentTagger.cs
Latest commit 5b2f51e Sep 4, 2018
Permalink
Failed to load latest commit information.
ArchivedSamples Renamed archive folder May 22, 2018
AsyncPackageMigration Update AsyncAutoloadRestriction.md Jul 5, 2018
AsyncQuickInfo More cleanup Jun 5, 2018
AsyncToolWindow Added Async QuickInfo sample Jun 5, 2018
Backwards_Compatible_AsyncPackage_2013 PR feedback Feb 27, 2018
Backwards_Compatible_Editor_Command Update Readme.md Apr 27, 2018
Caret_Fish_Eye Upgraded extensibility documentation (#92) Jun 6, 2017
CodeLensOopSample mention that CodeLens OOP is supported on Community SKU Jun 19, 2018
Code_Sweep Upgraded extensibility documentation (#92) Jun 6, 2017
Combo_Box Fix build errors in samples. Oct 5, 2017
Completion_Tooltip_Customization Upgraded extensibility documentation (#92) Jun 6, 2017
CustomCommand Removed unneeded files May 23, 2018
Diff_Classifier Fix build errors in samples. Oct 5, 2017
Editor_With_Toolbox Upgraded extensibility documentation (#92) Jun 6, 2017
ErrorList Upgraded extensibility documentation (#92) Jun 6, 2017
Highlight_Word Upgraded extensibility documentation (#92) Jun 6, 2017
Intra-text_Adornment Update IntraTextAdornmentTagger.cs Sep 3, 2018
LanguageServerProtocol Update to latest LSP nuget package. Jul 3, 2018
LightBulb Fix build errors in samples. Oct 5, 2017
MSDNSearch Upgraded extensibility documentation (#92) Jun 6, 2017
Menu_And_Commands Correct typo "D#" --> "C#" in xml comment Dec 10, 2017
Ook_Language_Integration Fix build errors in samples. Oct 5, 2017
Open_Folder_Extensibility Update build tools reference Oct 19, 2017
Options Removed unneeded files May 23, 2018
ProtocolHandler Removed unneeded files May 23, 2018
Reference_Services Upgraded extensibility documentation (#92) Jun 6, 2017
RunningDocumentTable(RDT)_Event_Explorer Upgraded extensibility documentation (#92) Jun 6, 2017
SingleFileGenerator Removed unneeded files May 23, 2018
SolutionLoadEvents Removed unneeded files May 23, 2018
SqliteVisualizer Retarget for 15.0 RTM Oct 20, 2017
TextmateGrammar Removed unneeded files May 23, 2018
Todo_Classification Fix more typos Jul 18, 2018
Typing_Speed_Meter Removed double import of .props Feb 8, 2018
VisibilityConstraints Removed unneeded files May 23, 2018
WPFDesigner_XML Upgraded extensibility documentation (#92) Jun 6, 2017
Windows_Forms_Controls_Installer Fix build errors in samples. Oct 5, 2017
.gitattributes Add the all-important .gitattributes file Mar 20, 2016
.gitignore Use project.json in all samples Mar 22, 2016
ISSUE_TEMPLATE.md Adding GitHub ISSUE_TEMPLATE Apr 4, 2016
LICENSE Initial commit Jun 23, 2015
NuGet.config Merge remote-tracking branch 'origin/master' into FixBuildIssues Mar 24, 2016
README.md Added new samples and archived old ones May 22, 2018
Visual Studio Code.lnk Added files via upload May 1, 2016
appveyor.yml Fix build break in appveyor Oct 19, 2017
build.ps1 Update build script to exclude this sample temporarily Feb 26, 2018

README.md

Visual Studio Extensibility Samples

Join the chat at https://gitter.im/Microsoft/extendvs Build status

These samples demonstrate how to customize the appearance and behavior of the Visual Studio IDE and editor. The following are some of the ways in which you can extend Visual Studio:

  • Add commands, buttons, menus, and other UI elements to the IDE
  • Add tool windows for new functionality
  • Add support in Visual Studio for new programming languages
  • Add refactoring or language analyzers to fix and improve code
  • Add a custom project type or new project or item templates

If you've never written a Visual Studio extension before, we've got some great resources to get started.

Getting started

  1. Clone the repo to download all samples (How to)

    git clone https://github.com/Microsoft/VSSDK-Extensibility-Samples.git

  2. Read the readme included with each sample and try it in Visual Studio

Other extensibility samples

  • If you're building XAML controls for UWP that are deployed as NuGet packages, you can add design-time support so that they automatically appear in the toolbox when they are referenced. This sample is in the NuGet repo.

  • We have separate repositories and documentation for writing extensions for other members of the Visual Studio family:

Other useful resources

  • Publish your completed extension to the Visual Studio Marketplace, which provides a convenient place for developers to find and install your extension.

  • Join the Visual Studio Partner Program for free to get access to dedicated resources to support you as an extension publisher.

  • For details on how to create user experiences that are seamless and consistent within the IDE, visit the Visual Studio User Experience Guidelines. You will also find information about the common user models and interaction patterns that are used and how you can utilize them as well.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Thank you for your support for Visual Studio - we're excited to see what extensions you build!