Replies: 8 comments 3 replies
-
It should be consistent with other languages, so I'm voting for red :) |
Beta Was this translation helpful? Give feedback.
-
It should follow what the Atom upstream does in my opinion, although I am not sure how much this theme currently strays from upstream. |
Beta Was this translation helpful? Give feedback.
-
It seems to be gray in my Atom: and I'm voting for not red. It's such an uncomfortable feeling when your company's source codes have a lot of variables and all of them are red. |
Beta Was this translation helpful? Give feedback.
-
It's not red because atom doesn't have semantic highlighting. It's a nice property of vscode (namely its lsp) that we loose by not coloring the variables. I also think it's a lot of red but we loose more by having everything white since other elements are white. It's possible to paint the variables to white by changing a setting in vscode though, if it's really problematic. I'll post an example soon if you want (I use a similar trick to differentiate attributes and variable colors). Would it be possible for one-dark to provide the color of variable as a setting? The extension would have a sensible default value, and it could be changed by the user? |
Beta Was this translation helpful? Give feedback.
-
Agreed with @MalcolmMielle. I probably wouldn't even mind having white variables in general but it should be consistent between all languages. I'm not a fan of setting a different color for C/C++/C# only. |
Beta Was this translation helpful? Give feedback.
-
All variables painted red might look kind of harsh. Also I think function parameters, global variables and local variables should be distinct and easily recognized. edit: why not refer to One Dark Theme on Jetbrains marketplace? |
Beta Was this translation helpful? Give feedback.
-
I agree that everything red is kind of similar to everything white; it defeats the purpose of the semantic highlighting. In my personal settings, I use:
It changes attributes to a deeper shade of red to make them distinguishable. |
Beta Was this translation helpful? Give feedback.
-
Since I used OneDark, the variable has become coral color, and I am used to this setting. After the variable was set to white last time, the white color made me think that vscode had crashed, and its semantics could not be parsed, so it was not rendered. And my first instinct is not that the theme is deliberately set to white. After setting it to other colors, such as white, for access to the structure, |
Beta Was this translation helpful? Give feedback.
-
Should C/C++/C# variables be red?
Some people think those should be red but other don't like red
Beta Was this translation helpful? Give feedback.
All reactions