Skip to content

Instantly share code, notes, and snippets.

View madskristensen's full-sized avatar

Mads Kristensen madskristensen

View GitHub Profile
@madskristensen
madskristensen / tools.md
Last active May 3, 2018 20:03
Extensibility tools
@madskristensen
madskristensen / vs-2017-api-samples.md
Last active April 5, 2018 11:25
Links to samples of how to use various APIs in the Visual Studio SDK
@madskristensen
madskristensen / SetEditorSettings.cs
Created August 22, 2016 20:47
How to set basic settings to any language in VS
using System.ComponentModel.Composition;
using Microsoft.VisualStudio.Text.Editor;
using Microsoft.VisualStudio.Utilities;
namespace YamlSpacesFix
{
[Export(typeof(IWpfTextViewCreationListener))]
[ContentType(ContentType)]
[TextViewRole(PredefinedTextViewRoles.PrimaryDocument)]
public class YamlCreationListener : IWpfTextViewCreationListener