Open Tragetaschen opened 5 years ago
Fires when user has an invalid editorconfig option value.
Do you have a (couple of) candidates, then I can check.
I have changed
csharp_style_unused_value_expression_statement_preference = true:error
to
csharp_style_unused_value_expression_statement_preference = discard_variable:error
to make AD0001 go away. That was from a time when those settings weren't yet documented.
Is there a better way to check the contents of .editorconfig files?
Is there a better way to check the contents of .editorconfig files?
I believe @sharwell had a tracking issue to create an IDE analyzer that validates our IDE options in .editorconfig files.
Good to know that it's an invalid editorconfig option. Are there plans to warn us which option is invalid instead of getting an unhelpful CSC KeyNotFound warning?
@jmarolf Does thsi go away now that the user can set these with the editorconfig ui? Does it tell you if you wrote things badly?
We don't have a mechanism to surface diagnostics in editorconfig yet if you manually edit the file, however if these options are set via the UI you should be "protected" from setting them to invalid values.
Version Used: 16.3.0 Preview 3.0
Steps to Reproduce:
Expected Behavior: No AD0001
Actual Behavior: