dracula / visual-studio-code

🧛🏻‍♂️ Dark theme for Visual Studio Code
https://draculatheme.com/visual-studio-code
MIT License
776 stars 208 forks source link

Parameter not highlighting as should #219

Closed giulianosrebuli closed 1 month ago

giulianosrebuli commented 2 years ago

Hi everyone. I use Dracula for a few months now, but this week some highlighting just went missing and i can't tell why. This is a example code:

image

My main concern is to the parameter (*buffer) which should be orange inside the function as well, just like it's shown in the readme:

image

The struct name is a little strange too, if i'm not mistaken it was blue before, now it's plain.

At first i thought it was becausa my project was starting to be too large, but on a single-file project happens the same

Can somebody help me understand what is going on and how can i solve it? Already tried to uninstall e reinstall Dracula on VSCode, also tried to uninstall and reinstall VSCode itself, but nothing works. Any help would be largely appreciated.

dsifford commented 2 years ago

Hi there.

If you noticed a sudden change in highlighting it may be that you toggled on (or off) semantic highlighting. So I would first double check that.

My main concern is to the parameter (*buffer) which should be orange inside the function as well, just like it's shown in the readme:

The only way this would happen is if you are using semantic highlighting. So make sure it is enabled and that the language you are using supports it.

Second, the comparison you are making between the example in the readme and your example are not direct apples to apples comparisons. The readme example is javascript syntax, whereas yours looks to be c or c++. These two languages use completely different syntaxes so the highlighting won't be exactly the same.

giulianosrebuli commented 2 years ago

My semantic highlighting is on for all color themes.

I am using C, the comparison was made because it used to look like that before, i.e. the parameter would still be orange in all its uses inside the function

dsifford commented 2 years ago

the parameter would still be orange in all its uses inside the function

This is something that is 100% controlled by semantic highlighting so I would triple check that you do indeed have it enabled.

giulianosrebuli commented 2 years ago

image unless i'm doing something wrong here, it is enabled