I have a Visual Studio extension that show red error squiggles. I also like to provide squiggles with other colors, for example yellow for warnings.

Creating red squiggles can be done by extending the ITagger class, along the lines:

```
internal sealed class MySquigglesTagger : ITagger<IErrorTag> {
    public IEnumerable<ITagSpan<IErrorTag>> GetTags(NormalizedSnapshotSpanCollection spans) {
        foreach (IMappingTagSpan<MyTokenTag> myTokenTag in this._aggregator.GetTags(spans))        
            SnapshotSpan tagSpan = myTokenTag.Span.GetSpans(this._sourceBuffer)[0];
            yield return new TagSpan<IErrorTag>(tagSpan, new ErrorTag("Error", "some info about the error"));
        }
    }
}

```

What I have tried:

1. My intuition (incorrectly) says that returning an ErrorTag with an different errorType may yield a different type of tag, but whatever string you pass it, the squiggles remain red. Eg. new ErrorTag("Warning") gives red squiggles. The MSDN documentation is almost nonexistent. See [ErrorTag](https://msdn.microsoft.com/en-us/library/microsoft.visualstudio.text.tagging.errortag.aspx).
2. In the [Tagging namespace](https://msdn.microsoft.com/en-us/library/microsoft.visualstudio.text.tagging.aspx) there is no mention of a different Tag class implementing ITag. I hoped a WarningTag or InfoTag existed.
3. Asked a question on MSDN forum [here](https://social.msdn.microsoft.com/Forums/vstudio/en-US/f861062f-0139-4455-bca5-3a2a7198fc09/how-to-create-blue-or-green-squiggle-adornments-red-ones-are-easy?forum=vsx#f861062f-0139-4455-bca5-3a2a7198fc09).

**Question**: how to create green (or blue or yellow) squiggle adornments? Sadly, even arcane or convoluted solutions are appreciated...

I'm targeting VS2015 and VS2017.

Edit: While typing this question someone at the MSDN forum replied that it cannot be done with the current API. Is it really impossible to make yellow squiggles in Visual Studio?!