-
-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Thanks for the extension, I've been using it for quite a while now and find it very useful.
I am using C# and .NET has the following inspection severities:
- Error
- Warning
- Suggestion
- Hint
InlineProblems supports 4 warnings levels and while Error and Warning work as expected, Suggestion and Hint are both treated as Info.
It would be really cool if Suggestions were treated as Weak Warnings and Hints as Info, so you could set different styles for them (personally I want Suggestions to be rendered inline and disable rendering for hints). Though this would not work well with the default coloring as Suggestions would be rendered in a color similar to warnings.
I tried to make it work using the Additional Severities setting. I tested a bunch of different values and as it turns out level 10 unfortunately hits some suggestions as well as some hints. I have no idea how the severity levels map to these ints (as I am not aware of DotNet using a number system for warnings), maybe this is caused by warnings generated from different sources (e.g. compiler vs IDE).