-
Notifications
You must be signed in to change notification settings - Fork 29.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve new constant color #97373
Comments
This seems to be part of the new update https://code.visualstudio.com/updates/v1_45#_new-color-for-constants-in-the-default-dark-theme However I wish they also provided a way to revert the change in that changelog because it makes it impossible to distinguish for me as well. |
Same for TypeScript. Really poor choice of color here from the team. |
Would love to be able to disable this. As it looks now it seems all |
And if you access a prop from a shaded variable, the prop is not shaded, as shown in the If you use the variable inside an object it also doesn't get shaded. @rauenzi did you find how to disable? I couldn't figure it out. |
Got a fix that overrides the consts (and enums, these have the same shade) to their old value in default dark +. Add the following to the
Edited based on @aeschli s suggestion, thanks |
It works perfect 👏! The new color looks too dark (it seems unused 😞) Related: #95346 |
Please use the following setting if you prefer the previous coloring:
|
This needs to be a setting. As a person with impaired color vision it totally defeats the purpose of dimming unused variables. Side by side I can distinguish them with some efforts, but at a glance I cannot discern if there is a difference. |
Here's a couple of variations that we've been exploring for the Dark theme. The intent is try to stay close to the "blue" color range so as to not be too different. You can test these out by using the instructions above. Option 1
|
That's great. Personally, I will test option 2 for a while. Thanks! |
I also like 2 the most. |
I think this feature should be optional. I personally don't want to have separate color for constants. It only makes reading code harder, and does not worth it. |
I also do not understand the benefit/need to separate color for constants. It makes no sense and the options above are not great. Why do we need a rainbow of colors? Whoever is doing that obviously doesn't work with VSCode on daily basis. Your last update for constants messed with a lot of people. |
Variable highlighting is all over the place, there seems to be a new type of highlighting for a local variable, but its confusing/annoying.
The shade for it is too close to the unused variable color.
Steps to Reproduce:
Does this issue occur when all extensions are disabled?: Yes/No
Yes
EDIT:
And if you access a prop from a shaded variable, the prop is not shaded, as shown in the
ola.another
.If you use the variable inside an object it also doesn't get shaded. It looks like a diff variable.
The text was updated successfully, but these errors were encountered: