Closed heorhii-aksiuk closed 2 years ago
Could you please copy your complete code here? For me to find out the reason. Thanks!
The problem is there regardless of my code. I tried opening other files, projects, restarting VSCode and computer, installing previous versions of the theme. Other themes continue to highlight these keywords without any problems.
Can I fix this locally using settings?
These words are not showing wrong everywhere, I need to restore your code, see what's wrong with their scope values. In your screenshot, I can't see the full code.
Of cause, you can fix that in local settings, but it is a little complicated. Please copy your code and let me see, if it is a common problem, let me fix it. Thanks!
Okey, here is example of simple code
const a = 5;
let b = 10;
function example(a, b) {
var c = 15;
return a + b * c;
}
example(a, b);
Screen of Eva Dark theme(and all 6 Eva themes give same result)
Screen of One Dark Theme(and all of other themes work right)
I really love your theme, I spent about 10 hours and tried dozens of themes to find it, no other theme suits me, and I would really like to solve this problem. Hope for help
And it's work when I change .js to .ts !
Found the source of the problem😀 . Extensions that change the default settings for a language.
Yes, someone has raised an issue because of this plugin before.
Why I have problem with colors of "const" and "var"? They are white, but must be purple. v1.7.7
Screenshot