madskristensen / EditorConfigLanguage

A Visual Studio extension
Other
129 stars 37 forks source link

dotnet_diagnostic.[warning code].severity throws a warning as unknown. #77

Closed jeremy-earp closed 4 years ago

jeremy-earp commented 4 years ago

Installed product versions

Description

When I use the new syntax for suppressing analyzer warnings, the EditorConfig Language Service extension marks it as a warning that it is unknown (EC112).

Steps to recreate

  1. Add the following to editorconfig:

dotnet_diagnostic.CA2007.severity = none

Current behavior

Warnings list contains:

Warning EC112 The keyword "dotnet_diagnostic.CA2007.severity" is unknown.

Expected behavior

No warnings should be added to the list and I should be provided with an autocomplete list for severity levels.