-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AD0001 (KeyNotFoundException) from AbstractRemoveUnusedParametersAndValuesDiagnosticAnalyzer #38668
Comments
Fires when user has an invalid editorconfig option value. |
to
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? |
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. |
Closing out due to lack of hits. |
Version Used:
16.3.0 Preview 3.0
Steps to Reproduce:
Expected Behavior:
No AD0001
Actual Behavior:
The text was updated successfully, but these errors were encountered: