-
Notifications
You must be signed in to change notification settings - Fork 392
Resources for writing Visual Studio Extensions
Jared Parsons edited this page Jun 22, 2014
·
11 revisions
I've gotten a few requests about resources for learning Visual Studio extensions. Here is a quick summary of the resources that I use when developing VsVim.
While there is sparse documentation for the older IVs style interfaces, there is ample documentation for the WPF editor introduced in Visual Studio 2010. Here is the main tutorial you should start with
The best place to look is at existing Visual Studio Extensions that are open source. Their sources already contain many of the solutions you are looking for. Here are a few of note
- https://github.com/jaredpar/EditorUtils - extensible async and sync tagger infrastructure, simple outlining, basic undo stack
- https://github.com/jaredpar/VsVim - taggers, adornments, key stroke handling, mouse handling, custom editting, undo integration
- https://nuget.codeplex.com - project system integration, custom tool windows, context menu, build integration
- https://github.com/ryanmolden - Ryan is a developer in Visual Studio and puts up great little samples on not so obvious patterns which are commonly requested by customers. I frequently seek him out for help on problems I am having.
- https://github.com/paulcbetts/SaveAllTheTime - reactive solution in VS, save integration, adornments
- https://github.com/dungpa/fantomas - undo integration, command handling
- https://github.com/madskristensen/WebEssentials2013 - these guys integrate into so many corners of Visual Studio that it's hard to create a simple summary
- https://pytools.codeplex.com/ - one of the few OSS projects which has a fully integrated language
- https://github.com/jaredpar/RoundTripVSIX - demonstrates via commit change log how to make a VSIX that will round trip into any version of Visual Studio
- http://viasfora.com/ - Nice collection of text editor enhancements.
Another good resource is the MSDN forums. A lot of the Visual Studio developers monitor that group, Ryan included, and give great answers to the hard questions there.
Other notable documentation links