Upper case fields aren't colorized in C# #2709
Labels
bug?
language specific
this feature/issue only effect on specific languages
Rider specific
Features/bugs about the Rider IDE
Have you checked the issues and discussions to ensure there are no duplicates?
Yes
Your programming languages
C#
Free or paid?
On trial
Expected Behavior
All fields should be colorized no matter how they're named. Unfortunately the way it works right now doesn't work with the coding convention that public fields should be named Uppercase.
Current Behavior
Only fields named with
lowercase
or_underscore
are colorized, butUppercase
are not, as in this exampleIt also seems to affect local variables, but since those are generally not named with Uppercase that's probably not a big issue. For fields however this is very inconvenient. I love the plugin otherwise, but many of the codebases I work on use an uppercase convention.
Code snippet for reproduce
Your Environment
JetBrains Rider 2023.3.3
Build #RD-233.14015.60, built on January 18, 2024
Runtime version: 17.0.9+7-b1087.11 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 11.0
.NET Core v7.0.10 x64 (Server GC)
GC: G1 Young Generation, G1 Old Generation
Memory: 4096M
Cores: 32
Registry:
editor.config.csharp.support=true
ide.experimental.ui=true
Non-Bundled Plugins:
com.intellij.javafx (1.0.4)
avalonia-rider (1.3.0)
com.intellij.ml.llm (233.14015.147)
com.github.copilot (1.4.14.4554)
izhangzhihao.rainbow.brackets (2024.2.1)
The text was updated successfully, but these errors were encountered: