VSIX

VSIX: Identify mouse hover location in the editor

I recently encountered an interesting challenge: The need to identify the word currently under the mouse cursor in the Visual Studio editor. This turned out harder than I thought. But after some work and a few tricks needed to make it work well, the result is this:   Let’s see how this can be done.

Visual Studio 2017 Extension tutorial 8: Add UI in the indicator margin with Glyphs

Tutorial Table of Contents: Part 1: Introduction to VS extensibility Part 2: Add Menu Item Part 3: Add command to context menu and get selected code Part 4: Show a popup Window Part 5: Highlight code in Editor Part 6: Follow a span of code with TrackingSpan Part 7: Insert buttons between text characters with …

Visual Studio 2017 Extension tutorial 8: Add UI in the indicator margin with Glyphs Read More »

Visual Studio 2017 Extension tutorial 7: Insert buttons between text characters with Adornments

Tutorial Table of Contents: Part 1: Introduction to VS extensibility Part 2: Add Menu Item Part 3: Add command to context menu and get selected code Part 4: Show a popup Window Part 5: Highlight code in Editor Part 6: Follow a span of code with TrackingSpan Part 8: Add UI in the indicator margin …

Visual Studio 2017 Extension tutorial 7: Insert buttons between text characters with Adornments Read More »

Visual Studio 2017 Extension development tutorial part 6: Follow a span of code with TrackingSpan

Tutorial Table of Contents: Part 1: Introduction to VS extensibility Part 2: Add Menu Item Part 3: Add command to context menu and get selected code Part 4: Show a popup Window Part 5: Highlight code in Editor Part 7: Insert buttons between text characters with Adornments Part 8: Add UI in the indicator margin …

Visual Studio 2017 Extension development tutorial part 6: Follow a span of code with TrackingSpan Read More »

Visual Studio 2017 Extension development tutorial part 5: Highlight code in Editor

Tutorial Table of Contents: Part 1: Introduction to VS extensibility Part 2: Add Menu Item Part 3: Add command to context menu and get selected code Part 4: Show a popup Window part 6: Follow a span of code with TrackingSpan Part 7: Insert buttons between text characters with Adornments Part 8: Add UI in …

Visual Studio 2017 Extension development tutorial part 5: Highlight code in Editor Read More »

Visual Studio 2017 Extension development tutorial, Part 4: Show a popup Window

Tutorial Table of Contents: Part 1: Introduction to VS extensibility Part 2: Add Menu Item Part 3: Add command to context menu and get selected code Part 5: Highlight code in Editor part 6: Follow a span of code with TrackingSpan Part 7: Insert buttons between text characters with Adornments Part 8: Add UI in …

Visual Studio 2017 Extension development tutorial, Part 4: Show a popup Window Read More »

Visual Studio 2017 Extension development tutorial, Part 3: Add to context menu, Get selected code

In part 2 of the tutorial we created a simple VS extension with a single Menu item. The extension will eventually be able to add code documentation in a separate file (.cs.cdocs) and view it in a nice Heads-Up display. The tutorial explains every step of the way to build such an extension. For starters, …

Visual Studio 2017 Extension development tutorial, Part 3: Add to context menu, Get selected code Read More »

Visual Studio 2017 Extension development tutorial, Part 2: Add Menu Item

The previous blog post introduced the wonderful world of Visual Studio extensions. Let’s start and do some coding. During the tutorial we are going to build a VS extensions called CodyDocs and place it on GitHub. CodyDocs will save code documentation in a separate file and the extension will allow to view and edit the documentation in the …

Visual Studio 2017 Extension development tutorial, Part 2: Add Menu Item Read More »

Visual Studio 2017 Extension development tutorial, Part 1

Ever used Resharper, CodeMaid, WebEssentials, OzCode or CodeRush? Those are pretty incredible tools, right? Ever thought about developing an extensions for yourself and your team? Maybe a little something that edits the very difficult configuration files your company invented? Or how about an extensions that automatically performs a localization merge? There are a lot of advantages to …

Visual Studio 2017 Extension development tutorial, Part 1 Read More »