madskristensen / EditorConfigLanguage

A Visual Studio extension
Other
128 stars 37 forks source link

.editorconfig when_on_single_line issue a warning #37

Closed iam3yal closed 6 years ago

iam3yal commented 6 years ago

Version Used: Visual Studio Community v15.5.3

Steps to Reproduce:

Add the following rules:

csharp_style_expression_bodied_operators = when_on_single_line:error
csharp_style_expression_bodied_indexers = when_on_single_line:error
csharp_style_expression_bodied_accessors = when_on_single_line:error
csharp_style_expression_bodied_methods = when_on_single_line:error
csharp_style_expression_bodied_properties = when_on_single_line:error

Expected Behavior:

  1. Should not issue a warning.

  2. Should show when_on_single_line in the intellisense.

Actual Behavior:

  1. when_on_single_line issue the following warning "EC114: whenon_single_line is not a valid value for...", also, notice the typo.

  2. Doesn't show the value in the intellisense.