JetBrains / JetBrains/resharper-unity
Can't opt out from using acronym capitalization used by Unity
- Dominant language
- C#
- Stars
- 1.2k
- Forks
- 142
- PR merge metrics
- No merged PRs in 30d
Description
We are trying to follow [Microsoft capitalization conventions](https://docs.microsoft.com/en-us/dotnet/standard/design-guidelines/capitalization-conventions#capitalization-rules-for-identifiers) in our project, which state that all acronyms with a length of three or more characters should capitalize only the first letter. So e.g. `Api` is correct, and `API` is incorrect.
However, it seems like the ReSharper Unity plugin uses an acronym list generated [here](https://github.com/JetBrains/resharper-unity/blob/d30043c9e6e07af602d93dd6d44d3d3bf3aa6646/resharper/resharper-unity/src/Feature/Internal/DumpSpellCheckWordListsAction.cs), and I was not able to figure out a way to opt out of this behaviour.
We have code which is shared between Unity and non-Unity use, and it seems like there is no way for us to get consistent inspections across all projects, unless we stop following this convention and add all acronyms used by Unity to the allowed list.
Contributor guide
Assessment
This issue has not been assessed yet.