Closed Tragetaschen closed 2 years ago
Probably already fixed in https://github.com/dotnet/roslyn/pull/59401.
I agree
Duplicate of #36248
In case it wasn't obvious from the pull request, here's the conflicting rule that was generating the unwanted names:
Version Used: 17.0.6
Steps to Reproduce:
and an
.editorconfig
with this https://github.com/dotnet/roslyn/blob/main/.editorconfig#L120-L127 (I have "warning" instead of suggestion)The first parameter is of type
Test
and the suggested name isTest
with a capitalT
. This violates the .editorconfig and gets a squiggle. The second parameter is of typeIEnumerable<Test>
and the suggested name istests
- great! The third parameter is of typeIComparable
and the suggested name iscomparable
- great! The fourth parameter is of typeCancellationToken
and the suggested name isCancellationToken
- squiggle.Expected Behavior: All suggested names should start with a lower case letter.
Actual Behavior: As described above, but what's worse is that any kind muscle memory is currently worthless here. It used to be that I could very quickly complete parameters, but as it is now I continuously have to check, go back to fix, or choose the first (correct) list entry manually.