Open tannergooding opened 2 years ago
I wonder if this is related, but: I just copied over an .editorconfig
(that I made a while back) into a new project and opened it with the EditorConfig UI (on VS 2022 17.2.3), with the intent of getting new settings inserted so I can look at whats new.
What happened was that it insert those:
dotnet_prefer_inferred_tuple_names = true:suggestion
dotnet_prefer_inferred_anonymous_type_member_names = true:suggestion
...while I already had those in the file:
dotnet_style_prefer_inferred_tuple_names = true : suggestion
dotnet_style_prefer_inferred_anonymous_type_member_names = true : suggestion
Difference being the _style
in between (dotnet_style_prefer
vs. just dotnet_prefer
)
I've also found MicrosoftDocs/visualstudio-docs#634 while trying to figure out which one was the correct one; but after getting inconclusive and even conflicting results (mostly from the official docs for IDE0037
), I just left them both in (for now).
Version Used: VS 17.2 Preview 2
Steps to Reproduce:
.root/.editorconfig
fileExpected Behavior:
There should be no pending changes or pending changes should be purely additive/whitespace fixes
Actual Behavior:
There are a couple of whitespace changes (acceptable) and then a set of pending changes which effectively duplicate existing defines that exist further up.
In the case of TerraFX, the following are additional changes appended to the end of the file. Note that
dotnet_style_*
are all duplicates.dotnet_naming_*
are new and in some cases conflict with existing naming rules TerraFX defines itself.